Class: Rpub::Commands::Clean
- Inherits:
-
Rpub::Command
- Object
- Rpub::Command
- Rpub::Commands::Clean
- Defined in:
- lib/rpub/commands/clean.rb
Instance Attribute Summary
Attributes inherited from Rpub::Command
Instance Method Summary (collapse)
Methods inherited from Rpub::Command
Constructor Details
This class inherits a constructor from Rpub::Command
Instance Method Details
- (Object) run
4 5 6 7 |
# File 'lib/rpub/commands/clean.rb', line 4 def run source.remove book.filename, .dryrun source.remove 'preview.html', .dryrun end |