Class: REXML::Validation::Sequence

Inherits:
State show all
Defined in:
lib/rexml/validation/relaxng.rb

Instance Method Summary collapse

Methods inherited from State

#<<, #expected, #initialize, #inspect, #next, #previous=, #reset, #to_s

Constructor Details

This class inherits a constructor from REXML::Validation::State

Instance Method Details

#matches?(event) ⇒ Boolean

Returns:

  • (Boolean)


253
254
255
# File 'lib/rexml/validation/relaxng.rb', line 253

def matches?(event)
  @events[@current].matches?( event )
end