| Class | Ruote::Dollar::RubyContext |
| In: |
lib/ruote/svc/dollar_sub.rb
|
| Parent: | Ruote::BlankSlate |
Dict uses this RubyContext class to evaluate ruby code. The method of this instance are directly visible to "${r:ruby_code}" ruby code.
| workitem | -> | wi |
| workitem | [R] |
This ‘d’ function can be called from inside ${r:…} notations.
pdef = Ruote.process_definition do
sequence do
set 'f:toto' => 'person'
echo "${r:d('f:toto')}"
end
end
will yield "person".