spec/support/example_actor_class.rb in celluloid-0.12.0.pre2 vs spec/support/example_actor_class.rb in celluloid-0.12.0.pre3

- old
+ new

@@ -11,11 +11,15 @@ def change_name(new_name) @name = new_name end - def change_name_async(new_name) + def change_name_with_a_bang(new_name) change_name! new_name + end + + def change_name_async(new_name) + async.change_name new_name end def greet "Hi, I'm #{@name}" end