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
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
octokit-4.20.0 lib/octokit/repo_arguments.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/octokit-4.19.0/lib/octokit/repo_arguments.rb
octokit-4.19.0 lib/octokit/repo_arguments.rb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/octokit-4.18.0/lib/octokit/repo_arguments.rb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/octokit-4.18.0/lib/octokit/repo_arguments.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/octokit-4.14.0/lib/octokit/repo_arguments.rb
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/octokit-4.18.0/lib/octokit/repo_arguments.rb
octokit-4.18.0 lib/octokit/repo_arguments.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/octokit-4.14.0/lib/octokit/repo_arguments.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/octokit-4.16.0/lib/octokit/repo_arguments.rb
octokit-4.16.0 lib/octokit/repo_arguments.rb
octokit-4.15.0 lib/octokit/repo_arguments.rb
tdiary-5.1.0 vendor/bundle/gems/octokit-4.14.0/lib/octokit/repo_arguments.rb
tdiary-5.0.13 vendor/bundle/gems/octokit-4.13.0/lib/octokit/repo_arguments.rb
octokit-4.14.0 lib/octokit/repo_arguments.rb
tdiary-5.0.12.1 vendor/bundle/gems/octokit-4.13.0/lib/octokit/repo_arguments.rb
tdiary-5.0.11 vendor/bundle/gems/octokit-4.10.0/lib/octokit/repo_arguments.rb
tdiary-5.0.11 vendor/bundle/gems/octokit-4.13.0/lib/octokit/repo_arguments.rb
octokit-4.13.0 lib/octokit/repo_arguments.rb