Method: Celluloid::ClassMethods#run

Defined in:
lib/celluloid.rb

#run(*args, &block) ⇒ Object

Run an actor in the foreground



216
217
218
# File 'lib/celluloid.rb', line 216

def run(*args, &block)
  Actor.join(new(*args, &block))
end