Class: Kojo::Commands::CommandBase
- Inherits:
-
MisterBin::Command
- Object
- MisterBin::Command
- Kojo::Commands::CommandBase
- Defined in:
- lib/kojo/commands/command_base.rb
Instance Method Summary collapse
Instance Method Details
#save(file, output) ⇒ Object
6 7 8 9 10 |
# File 'lib/kojo/commands/command_base.rb', line 6 def save(file, output) outpath = "#{outdir}/#{file}" File.deep_write outpath, output say "Saved #{outpath}" end |