In Files

  • rubygems/commands/info_command.rb

Parent

Included Modules

Class/Module Index [+]

Quicksearch

Gem::Commands::InfoCommand

Public Class Methods

new() click to toggle source
 
               # File 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
            

Public Instance Methods

defaults_str() click to toggle source
 
               # File rubygems/commands/info_command.rb, line 35
def defaults_str
  "--local"
end