Class: Topaz::Uninstall

Inherits:
Object
  • Object
show all
Defined in:
lib/topaz.rb

Class Method Summary collapse

Class Method Details

.uninstall(gem, version = '> 0.0.0') ⇒ Object

Uninstalls a gem with the name of ‘gem`, and optionally with the version of `version`.



167
168
169
# File 'lib/topaz.rb', line 167

def uninstall(gem, version = '> 0.0.0')
	`sudo gem uninstall "#{gem}" -v "#{version}"`
end