Class: REXML::Validation::Sequence

Inherits:
State show all
Defined in:
lib/extensions/rexml/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)


257
258
259
# File 'lib/extensions/rexml/rexml/validation/relaxng.rb', line 257

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