method
new
v1_9_3_392 -
Show latest stable
- Class:
Gem::Commands::OwnerCommand
new()public
No documentation available.
# File lib/rubygems/commands/owner_command.rb, line 17
def initialize
super 'owner', description
add_proxy_option
add_key_option
defaults.merge! :add => [], :remove => []
add_option '-a', '--add EMAIL', 'Add an owner' do |value, options|
options[:add] << value
end
add_option '-r', '--remove EMAIL', 'Remove an owner' do |value, options|
options[:remove] << value
end
end