Class: Octokit::RepoArguments
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Arguments ,
Array
|
|
Instance Chain:
self,
Arguments ,
Array
|
|
Inherits: |
Octokit::Arguments
|
Defined in: | lib/octokit/repo_arguments.rb |
Overview
Class to extract options from Ruby arguments for Repository-related methods
Class Method Summary
Instance Attribute Summary
Constructor Details
.new(args) ⇒ RepoArguments
# File 'lib/octokit/repo_arguments.rb', line 11
def initialize(args) arguments = super(args) @repo = arguments.shift arguments end
Instance Attribute Details
#repo (readonly)
!@attribute [r] repo @return [Repository]
# File 'lib/octokit/repo_arguments.rb', line 9
attr_reader :repo