Module: Seh

Defined in:
lib/seh.rb,
lib/seh/event.rb,
lib/seh/version.rb,
lib/seh/event_bind.rb,
lib/seh/event_type.rb,
lib/seh/event_target.rb,
lib/seh/event_bind_disconnector.rb

Defined Under Namespace

Modules: EventTarget Classes: Event, EventBindDisconnector, EventType

Class Method Summary collapse

Class Method Details

.and(*types) ⇒ Object

Note:


6
7
8
# File 'lib/seh.rb', line 6

def and *types
  EventType::And.new *types
end

.not(type) ⇒ Object

Note:


16
17
18
# File 'lib/seh.rb', line 16

def not type
  EventType::Not.new type
end

.or(*types) ⇒ Object

Note:


11
12
13
# File 'lib/seh.rb', line 11

def or *types
  EventType::Or.new *types
end