Class: Crusoe::Interface
- Inherits:
-
Object
- Object
- Crusoe::Interface
- Defined in:
- lib/crusoe/interface.rb
Instance Method Summary collapse
Instance Method Details
#display(content) ⇒ Object
3 4 5 |
# File 'lib/crusoe/interface.rb', line 3 def display(content) $stdout.puts content end |
#write(file_name) ⇒ Object
7 8 9 |
# File 'lib/crusoe/interface.rb', line 7 def write(file_name) system("#{editor_exe} #{} #{file_name}") end |