Class: Wamp::Worker::Subscription
- Defined in:
- lib/wamp/worker/config.rb
Instance Attribute Summary collapse
-
#topic ⇒ Object
readonly
Returns the value of attribute topic.
Attributes inherited from Handle
Instance Method Summary collapse
-
#initialize(topic, klass, method, options) ⇒ Subscription
constructor
A new instance of Subscription.
Constructor Details
#initialize(topic, klass, method, options) ⇒ Subscription
Returns a new instance of Subscription.
34 35 36 37 |
# File 'lib/wamp/worker/config.rb', line 34 def initialize(topic, klass, method, ) super klass, method, @topic = topic end |
Instance Attribute Details
#topic ⇒ Object (readonly)
Returns the value of attribute topic.
32 33 34 |
# File 'lib/wamp/worker/config.rb', line 32 def topic @topic end |