Class: Topaz::Uninstall
- Inherits:
-
Object
- Object
- Topaz::Uninstall
- Defined in:
- lib/topaz.rb
Class Method Summary collapse
-
.uninstall(gem, version = '> 0.0.0') ⇒ Object
Uninstalls a gem with the name of ‘gem`, and optionally with the version of `version`.
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 |