Object
Mapping from expression names (sequence, concurrence, ...) to expression classes (Ruote::SequenceExpression, Ruote::ConcurrenceExpression, ...)
Will load any expression in the Ruote::Exp |
namespace and map |
its names to its class.
# File lib/ruote/exp/expression_map.rb, line 55 def initialize (worker) @map = {} Ruote::Exp.constants.each do |con| con = con.to_s next unless con.match(/Expression$/) cla = Ruote::Exp.const_get(con) next unless cla.respond_to?(:expression_names) add(cla) end end
Generated with the Darkfish Rdoc Generator 2.