Class: Command::GemRebuildCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Command::GemRebuildCommand
- Defined in:
- lib/command/gem_rebuild_command.rb
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods inherited from BaseCommand
Constructor Details
This class inherits a constructor from Command::BaseCommand
Instance Method Details
#cancel ⇒ Object
3 4 5 |
# File 'lib/command/gem_rebuild_command.rb', line 3 def cancel system('rm -rf pkg') end |
#name ⇒ Object
7 8 9 |
# File 'lib/command/gem_rebuild_command.rb', line 7 def name 'rm -rf pkg && bundle exec rake build' end |