method
expected
v1_9_3_125 -
Show latest stable
- Class:
REXML::Validation::Interleave
expected()public
No documentation available.
# File lib/rexml/validation/relaxng.rb, line 529
def expected
#puts "IN CHOICE EXPECTED"
#puts "EVENTS = #{@events.inspect}"
return [@events[@current]] if @events[@current]
return @choices[@choice..-1].collect do |x|
if x[0].kind_of? State
x[0].expected
else
x[0]
end
end.flatten
end