Sha256: df7a0a7ebc45b2500a168c4aac07269d337d77e617b3b25c7dd3b325d5f91df2

Contents?: true

Size: 335 Bytes

Versions: 109

Compression:

Stored size: 335 Bytes

Contents

module Octokit

  # Class to extract options from Ruby arguments for
  # Repository-related methods
  class RepoArguments < Arguments

    # !@attribute [r] repo
    #   @return [Repository]
    attr_reader :repo

    def initialize(args)
      arguments = super(args)
      @repo = arguments.shift

      arguments
    end

  end
end

Version data entries

109 entries across 90 versions & 3 rubygems

Version Path
octokit-4.24.0 lib/octokit/repo_arguments.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/octokit-4.23.0/lib/octokit/repo_arguments.rb
octokit-4.23.0 lib/octokit/repo_arguments.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/octokit-4.22.0/lib/octokit/repo_arguments.rb
octokit-4.22.0 lib/octokit/repo_arguments.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/octokit-4.19.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/octokit-4.21.0/lib/octokit/repo_arguments.rb
octokit-4.21.0 lib/octokit/repo_arguments.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.19.0/lib/octokit/repo_arguments.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/octokit-4.20.0/lib/octokit/repo_arguments.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/repo_arguments.rb