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)


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

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