Class: Seh::EventType::Not
- Inherits:
-
EventType
- Object
- EventType
- Seh::EventType::Not
- Defined in:
- lib/seh/event_type.rb
Overview
Or
Instance Method Summary collapse
-
#initialize(type) ⇒ Not
constructor
A new instance of Not.
- #match(types) ⇒ Object
Constructor Details
#initialize(type) ⇒ Not
Returns a new instance of Not.
38 39 40 41 |
# File 'lib/seh/event_type.rb', line 38 def initialize type type = EventType.new type unless type.kind_of? EventType @type = type end |
Instance Method Details
#match(types) ⇒ Object
43 44 45 |
# File 'lib/seh/event_type.rb', line 43 def match types ! @type.match types end |