123456789_123456789_123456789_123456789_123456789_

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

  • #repo readonly

    !@attribute [r] repo.

Arguments - Inherited

Constructor Details

.new(args) ⇒ RepoArguments

[ GitHub ]

  
# 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]

[ GitHub ]

  
# File 'lib/octokit/repo_arguments.rb', line 9

attr_reader :repo