Class: Seh::EventType::Or
- Inherits:
-
EventType
- Object
- EventType
- Seh::EventType::Or
- Defined in:
- lib/seh/event_type.rb
Overview
And
Instance Method Summary collapse
-
#initialize(*types) ⇒ Or
constructor
A new instance of Or.
- #match(types) ⇒ Object
Constructor Details
Instance Method Details
#match(types) ⇒ Object
31 32 33 34 |
# File 'lib/seh/event_type.rb', line 31 def match types @types.each { |t| return true if t.match types } false end |