class Celluloid::Supervisor
Supervisors are actors that watch over other actors and restart them if they crash
Attributes
root[RW]
Define the root of the supervision tree
Public Class Methods
supervise(klass, *args, &block)
click to toggle source
# File lib/celluloid/supervision/deprecate/supervise.rb, line 36 def supervise(klass, *args, &block) args.unshift(klass) Celluloid.supervise(*args, &block) end
supervise_as(name, klass, *args, &block)
click to toggle source
# File lib/celluloid/supervision/deprecate/supervise.rb, line 42 def supervise_as(name, klass, *args, &block) args.unshift(klass) Celluloid.supervise_as(name, *args, &block) end