Skip to content

Commit

Permalink
addded documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Sep 19, 2016
1 parent 312bf60 commit 9c3f422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/celluloid_pubsub/base_actor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def version_less_than_seventeen?
end

def setup_actor_supervision(class_name, options)
actor_name, args = [options[:actor_name], options[:args]]
actor_name = options[:actor_name]
args = options[:args]
if version_less_than_seventeen?
class_name.supervise_as(actor_name, args)
else
Expand Down
2 changes: 1 addition & 1 deletion lib/celluloid_pubsub/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Client
# The channel to which the client will subscribe to once the connection is open
# @return [String] The channel to which the client will subscribe to
attr_accessor :channel

finalizer :shutdown
# receives a list of options that are used to connect to the webserver and an actor to which the callbacks are delegated to
# when receiving messages from a channel
Expand Down

0 comments on commit 9c3f422

Please sign in to comment.