Class: Gem::Commands::TumbleCommand

Inherits:
AbstractCommand
  • Object
show all
Defined in:
lib/commands/tumble.rb

Instance Method Summary collapse

Constructor Details

#initializeTumbleCommand

Returns a new instance of TumbleCommand.



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

def initialize
  super 'tumble', description
end

Instance Method Details

#descriptionObject



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

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

#executeObject



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

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