method

new

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: SigninCommand
new() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/signin_command.rb, line 8
  def initialize
    super 'signin', 'Sign in to any gemcutter-compatible host. '           'It defaults to https://rubygems.org'

    add_option('--host HOST', 'Push to another gemcutter-compatible host') do |value, options|
       options[:host] = value
    end

  end
Register or log in to add new notes.