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