Class: Clacky::RichUIController::LayoutAdapter
- Inherits:
-
Object
- Object
- Clacky::RichUIController::LayoutAdapter
- Defined in:
- lib/clacky/rich_ui_controller.rb
Instance Method Summary collapse
- #clear_output ⇒ Object
-
#initialize(shell) ⇒ LayoutAdapter
constructor
A new instance of LayoutAdapter.
Constructor Details
#initialize(shell) ⇒ LayoutAdapter
Returns a new instance of LayoutAdapter.
1298 1299 1300 |
# File 'lib/clacky/rich_ui_controller.rb', line 1298 def initialize(shell) @shell = shell end |
Instance Method Details
#clear_output ⇒ Object
1302 1303 1304 1305 |
# File 'lib/clacky/rich_ui_controller.rb', line 1302 def clear_output @shell.transcript.store.entries.clear @shell..scroll_to_bottom end |