Class: PendingFromMeleteWorkflowDecorator

Inherits:
PendingFromMeleteDecorator show all
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

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_meleteString

Returns Melete transcript line (header only — content is the workflow body).

Returns:

  • (String)

    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