class Aruba::EventBus
Event bus
Implements and in-process pub-sub events broadcaster allowing multiple observers to subscribe to different events that fire as your tests are executed.
Public Instance Methods
Source
# File lib/aruba/event_bus.rb, line 12 def register(ids, handler_object = nil, &handler_proc) Array(ids).each do |event_id| on(event_id, handler_object, &handler_proc) end end