Class: TUI::Decorators::WriteDecorator
- Inherits:
-
BaseDecorator
- Object
- BaseDecorator
- TUI::Decorators::WriteDecorator
- Defined in:
- lib/tui/decorators/write_decorator.rb
Overview
Renders write tool calls and responses. Calls show the file path with a memo icon.
Constant Summary collapse
- ICON =
memo
"\u{1F4DD}"
Constants inherited from BaseDecorator
BaseDecorator::CHECKMARK, BaseDecorator::ERROR_ICON, BaseDecorator::RETURN_ARROW
Instance Attribute Summary
Attributes inherited from BaseDecorator
Instance Method Summary collapse
Methods inherited from BaseDecorator
for, #initialize, #render, #render_call, #render_response, #render_think, #response_color
Methods included from Formatting
#format_ns_timestamp, #format_token_label
Constructor Details
This class inherits a constructor from TUI::Decorators::BaseDecorator
Instance Method Details
#color ⇒ Object
14 15 16 |
# File 'lib/tui/decorators/write_decorator.rb', line 14 def color "yellow" end |
#icon ⇒ Object
10 11 12 |
# File 'lib/tui/decorators/write_decorator.rb', line 10 def icon ICON end |