method
    
    new
 
  
      Ruby latest stable (v2_5_5)
 - 
    0 notes - 
    Class: OwnerCommand
    
  
  
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
new()
  public
  
    Hide source    
    
      
  
# File lib/rubygems/commands/owner_command.rb, line 32 def initialize super 'owner', 'Manage gem owners of a gem on the push server' 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 add_option '-h', '--host HOST', 'Use another gemcutter-compatible host', ' (e.g. https://rubygems.org)' do |value, options| options[:host] = value end end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
     = protected
 = protected
  