Class: RBStarbound::DumpCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- RBStarbound::DumpCommand
- Defined in:
- lib/rbstarbound/commands/dump.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
13 14 15 16 |
# File 'lib/rbstarbound/commands/dump.rb', line 13 def execute return unless format.casecmp('yaml').zero? dump_to_yaml(save_file.to_s, formatted_file.to_s) end |