Class: Pubnub::Message::Done

Inherits:
InternalMessage show all
Defined in:
lib/pubnub/message.rb

Overview

Used to letting terminator to kill the actor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actor) ⇒ Done

Returns a new instance of Done.



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

def initialize(actor)
  @actor = actor
end

Instance Attribute Details

#actorObject (readonly)

Returns the value of attribute actor.



9
10
11
# File 'lib/pubnub/message.rb', line 9

def actor
  @actor
end