Class: Octokit::Arguments Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Array
|
|
Instance Chain:
self,
Array
|
|
Inherits: |
Array
|
Defined in: | lib/octokit/arguments.rb |
Overview
Extracts options from method arguments
Class Method Summary
- .new(args) ⇒ Arguments constructor Internal use only
Instance Attribute Summary
- #options readonly Internal use only
Constructor Details
.new(args) ⇒ Arguments
# File 'lib/octokit/arguments.rb', line 9
def initialize(args) @options = args.last.is_a?(::Hash) ? args.pop : {} super(args) end
Instance Attribute Details
#options (readonly)
[ GitHub ]# File 'lib/octokit/arguments.rb', line 7
attr_reader :