Class: Renote::Models::Shell
- Inherits:
-
Object
- Object
- Renote::Models::Shell
- Defined in:
- lib/renote/models/shell.rb
Instance Attribute Summary collapse
-
#output_file_path ⇒ Object
Returns the value of attribute output_file_path.
Instance Method Summary collapse
-
#initialize ⇒ Shell
constructor
A new instance of Shell.
- #open(handle) ⇒ Object
Constructor Details
#initialize ⇒ Shell
Returns a new instance of Shell.
52 53 54 55 |
# File 'lib/renote/models/shell.rb', line 52 def initialize @output_file = nil super() # NOTE: This *must* be called, otherwise states won't get initialized end |
Instance Attribute Details
#output_file_path ⇒ Object
Returns the value of attribute output_file_path.
8 9 10 |
# File 'lib/renote/models/shell.rb', line 8 def output_file_path @output_file_path end |
Instance Method Details
#open(handle) ⇒ Object
47 48 49 50 |
# File 'lib/renote/models/shell.rb', line 47 def open(handle) set_output_file handle start! end |