lib/celluloid/supervision/service.rb in celluloid-supervision-0.20.0.pre2 vs lib/celluloid/supervision/service.rb in celluloid-supervision-0.20.0.pre4
- old
+ new
@@ -3,14 +3,14 @@
module Service
class Root < Container
class << self
def define
super({
- :supervise => Celluloid.actor_system.root_configuration,
- :as => :root_supervisor,
- :accessors => [ :root ],
- :branch => :root,
- :type => self
+ supervise: Celluloid.actor_system.root_configuration,
+ as: :root_supervisor,
+ accessors: [:root],
+ branch: :root,
+ type: self,
})
end
def deploy(instances)
super(supervise: instances, branch: :root, as: :root, type: self)