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.
1296 1297 1298 |
# File 'lib/clacky/rich_ui_controller.rb', line 1296 def initialize(shell) @shell = shell end |
Instance Method Details
#clear_output ⇒ Object
1300 1301 1302 1303 |
# File 'lib/clacky/rich_ui_controller.rb', line 1300 def clear_output @shell.transcript.store.entries.clear @shell..scroll_to_bottom end |