class Gem::Commands::InfoCommand
公共类方法
new() 点击切换源代码
调用父类方法
Gem::Command::new
# 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
公共实例方法
defaults_str() 点击切换源代码
# File rubygems/commands/info_command.rb, line 35 def defaults_str "--local" end