Class: Command::GemUninstallCommand

Inherits:
BaseCommand show all
Defined in:
lib/command/gem_uninstall_command.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#options, #rvm_prefix

Instance Method Summary collapse

Methods inherited from BaseCommand

#execute, #initialize

Constructor Details

This class inherits a constructor from Command::BaseCommand

Instance Method Details

#cancelObject



3
4
5
# File 'lib/command/gem_uninstall_command.rb', line 3

def cancel
  puts "WARNING: You must reinstall gem #{ options[:gem_name] }"
end

#nameObject



7
8
9
# File 'lib/command/gem_uninstall_command.rb', line 7

def name
  clean "#{ rvm_prefix } gem uninstall #{ options[:gem_name] } --all -x"
end