Method: Gem::Commands::InfoCommand#initialize
- Defined in:
- lib/rubygems/commands/info_command.rb
#initialize ⇒ InfoCommand
Returns a new instance of InfoCommand.
9 10 11 12 13 14 15 16 17 18 19 20 |
# File '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 remove_option('-d') defaults[:details] = true defaults[:exact] = true end |