Method: REXML::Validation::Optional#expected
- Defined in:
- lib/rexml/validation/relaxng.rb
#expected ⇒ Object
275 276 277 278 |
# File 'lib/rexml/validation/relaxng.rb', line 275 def expected return [ @prior.expected, @events[0] ].flatten if @current == 0 return [@events[@current]] end |