Skip to Content Skip to Search
Methods
D
N
Included Modules

Class Public methods

new()

# File ruby/lib/rubygems/commands/info_command.rb, line 9
def initialize
  super "info", "Show information for the given gem",
       name: //, domain: :local, details: false, versions: true,
       installed: nil, version: Gem::Requirement.default

  add_query_options

  remove_option("-d")

  defaults[:details] = true
  defaults[:exact] = true
end

Instance Public methods

defaults_str()

# File ruby/lib/rubygems/commands/info_command.rb, line 35
def defaults_str
  "--local"
end