Object
A helper class, for ParticipantList#list, which returns a list (order matters) of ParticipantEntry instances.
See Engine#participant_list
# File lib/ruote/part/participant_list.rb, line 318 def initialize (a) @regex = a.first if a.last.is_a?(Array) @classname = a.last.first @options = a.last.last else @classname = a.last @options = nil end end
# File lib/ruote/part/participant_list.rb, line 329 def to_a @classname[0, 5] == 'inpa_' ? [ @regex, @classname ] : [ @regex, [ @classname, @options ] ] end
# File lib/ruote/part/participant_list.rb, line 335 def to_s "/#{@regex}/ ==> #{@classname} #{@opts.inspect}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.