Class Methods
::
lib/rubygems/commands/signin_command.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/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
No documentation available
Instance Methods
#
lib/rubygems/commands/signin_command.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rubygems/commands/signin_command.rb, line 29
def execute
sign_in options[:host]
end
No documentation available