# File rexml-3.2.5/lib/rexml/validation/relaxng.rb, line 275defexpectedreturn [ @prior.expected, @events[0] ].flattenif@current==0return [@events[@current]]
end
matches?(event)click to toggle source
# File rexml-3.2.5/lib/rexml/validation/relaxng.rb, line 270defmatches?(event)
@events[@current].matches?(event) ||
(@current==0and@previous[-1].matches?(event))
end