# File rexml-3.2.5/lib/rexml/validation/relaxng.rb, line 274defexpectedreturn [ @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 269defmatches?(event)
@events[@current].matches?(event) ||
(@current==0and@previous[-1].matches?(event))
end