class Gem::Commands::InfoCommand
公共类方法
源代码
# 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 add_query_options remove_option("-d") defaults[:details] = true defaults[:exact] = true end
调用父类方法
Gem::Command::new
公共实例方法
源代码
# File lib/rubygems/commands/info_command.rb, line 35 def defaults_str "--local" end