Method: Command#save
- Defined in:
- lib/base/command.rb
#save(filename) ⇒ Object
59 60 61 |
# File 'lib/base/command.rb', line 59 def save filename File.open(filename,'w'){|f|f.write(to_json)} end |
59 60 61 |
# File 'lib/base/command.rb', line 59 def save filename File.open(filename,'w'){|f|f.write(to_json)} end |