Method: Celluloid::ClassMethods#new

Defined in:
lib/celluloid.rb

#new(*args, &block) ⇒ Object Also known as: spawn



197
198
199
200
201
# File 'lib/celluloid.rb', line 197

def new(*args, &block)
  proxy = Cell.new(allocate, behavior_options, actor_options).proxy
  proxy._send_(:initialize, *args, &block)
  proxy
end