Class | Ruote::DollarSubstitution |
In: |
lib/ruote/svc/dollar_sub.rb
|
Parent: | Object |
This service is in charge of extrapolating strings like "${f:nada} == ${f:y}".
It relies on the rufus-dollar gem.
It‘s OK to override this service with your own.
This method is public, for easy overriding. This implementation returns Ruote::Dollar::Dict whose instances are used to extrapolate dollar strings like "${f:customer}" or "${r:Time.now.to_s}/${f:year_target}"
Performs ‘dollar substitution’ on a piece of text with as input a flow expression and a workitem (fields and variables).
With help from Nick Petrella (2008/03/20)