Method: REXML::Validation::Interleave#expected
- Defined in:
- lib/rexml/validation/relaxng.rb
#expected ⇒ Object
512 513 514 515 516 517 518 519 520 521 |
# File 'lib/rexml/validation/relaxng.rb', line 512 def expected return [@events[@current]] if @events[@current] @choices[@choice..-1].collect do |x| if x[0].kind_of? State x[0].expected else x[0] end end.flatten end |