Class: Gem::Commands::TumbleCommand

Inherits:
Gem::Command
  • Object
show all
Defined in:
lib/rubygems/commands/tumble_command.rb

Instance Method Summary collapse

Constructor Details

#initializeTumbleCommand

Returns a new instance of TumbleCommand.


6
7
8
# File 'lib/rubygems/commands/tumble_command.rb', line 6

def initialize
  super 'tumble', description
end

Instance Method Details

#descriptionObject


2
3
4
# File 'lib/rubygems/commands/tumble_command.rb', line 2

def description
  "Deprecated method of upgrading to Gemcutter.org for gem downloads"
end

#executeObject


10
11
12
# File 'lib/rubygems/commands/tumble_command.rb', line 10

def execute
  say "This command is deprecated, Gemcutter.org is the primary source for gems."
end