Module: Streamline::Handler::ClassMethods

Defined in:
lib/streamline/handler.rb

Instance Method Summary collapse

Instance Method Details

#handle(event_name, options = {}) ⇒ Object



8
9
10
# File 'lib/streamline/handler.rb', line 8

def handle(event_name, options = {})
  Streamline.registry.add(self, event_name, options)
end