Class: RBStarbound::DumpCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/rbstarbound/commands/dump.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



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