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