lib/celluloid/actor_proxy.rb in celluloid-0.6.2 vs lib/celluloid/actor_proxy.rb in celluloid-0.7.0

- old
+ new

@@ -39,10 +39,10 @@ "#<Celluloid::Actor(#{@klass}) dead>" end # Create a Celluloid::Future which calls a given method def future(method_name, *args, &block) - Celluloid::Future.new { Actor.call @mailbox, method_name, *args, &block } + Future.new { Actor.call @mailbox, method_name, *args, &block } end # Terminate the associated actor def terminate raise DeadActorError, "actor already terminated" unless alive?