Class: PendingFromMeleteWorkflowDecorator
- Inherits:
-
PendingFromMeleteDecorator
- Object
- Draper::Decorator
- ApplicationDecorator
- PendingMessageDecorator
- PendingFromMeleteDecorator
- PendingFromMeleteWorkflowDecorator
- Defined in:
- app/decorators/pending_from_melete_workflow_decorator.rb
Overview
Decorates a from_melete_workflow PendingMessage — a workflow that Melete activated for the upcoming turn. See PendingFromMeleteDecorator for the shared TUI rendering shape.
Constant Summary collapse
- KIND =
"workflow"
Instance Method Summary collapse
-
#render_melete ⇒ String
Melete transcript line (header only — content is the workflow body).
Methods inherited from PendingFromMeleteDecorator
#render_basic, #render_debug, #render_verbose
Methods inherited from PendingMessageDecorator
#render, #render_basic, #render_debug, #render_mneme, #render_verbose
Instance Method Details
#render_melete ⇒ String
Returns Melete transcript line (header only — content is the workflow body).
10 11 12 |
# File 'app/decorators/pending_from_melete_workflow_decorator.rb', line 10 def render_melete "Melete activated workflow: #{source_name}" end |