Module: ZK::EventHandlerSubscription

Defined in:
lib/zk/event_handler_subscription.rb,
lib/zk/event_handler_subscription/base.rb,
lib/zk/event_handler_subscription/actor.rb

Overview

the subscription object that is passed back from subscribing to events.

Defined Under Namespace

Classes: Actor, Base

Class Method Summary collapse

Class Method Details

.new(*a, &b) ⇒ Object



19
20
21
22
23
24
25
26
# File 'lib/zk/event_handler_subscription.rb', line 19

def self.new(*a, &b)
  opts = a.extract_options!
 
  klass = class_for_thread_option(opts.delete(:thread))

  a << opts
  klass.new(*a, &b)
end