Parent

Methods

Class/Module Index [+]

Quicksearch

Ruote::Exp::EchoExpression

An expression for echoing text to STDOUT or to a :s_tracer service (if there is one bound in the engine context).

sequence do
  participant :ref => 'toto'
  echo 'toto replied'
end

Public Instance Methods

apply() click to toggle source
# File lib/ruote/exp/fe_echo.rb, line 41
def apply

  text = "#{attribute_text}\n"

  if t = @context['s_tracer']
    t << text
  else
    print(text)
  end

  reply_to_parent(h.applied_workitem)
end
reply(workitem) click to toggle source
# File lib/ruote/exp/fe_echo.rb, line 54
def reply (workitem)

  # never called
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.