method
new
v2_1_10 -
Show latest stable
- Class:
Gem::Commands::YankCommand
new()public
No documentation available.
# File lib/rubygems/commands/yank_command.rb, line 37
def initialize
super 'yank', 'Remove a pushed gem from the index'
add_version_option("remove")
add_platform_option("remove")
add_option('--undo') do |value, options|
options[:undo] = true
end
add_option('-k', '--key KEY_NAME',
'Use API key from your gem credentials file') do |value, options|
options[:key] = value
end
end