Class: Rumacs::Files
- Inherits:
-
Object
- Object
- Rumacs::Files
- Defined in:
- lib/rumacs/files.rb
Instance Method Summary collapse
-
#initialize ⇒ Files
constructor
A new instance of Files.
- #load_file(path) ⇒ Object
- #load_text(text) ⇒ Object
Constructor Details
#initialize ⇒ Files
Returns a new instance of Files.
8 9 |
# File 'lib/rumacs/files.rb', line 8 def initialize end |
Instance Method Details
#load_file(path) ⇒ Object
15 16 17 |
# File 'lib/rumacs/files.rb', line 15 def load_file(path) nil end |
#load_text(text) ⇒ Object
11 12 13 |
# File 'lib/rumacs/files.rb', line 11 def load_text(text) $screen.put_lines(text.split("\n")) end |