spec/support/example_actor_class.rb in celluloid-0.14.1 vs spec/support/example_actor_class.rb in celluloid-0.15.0.pre

- old
+ new

@@ -10,10 +10,14 @@ def initialize(name) @name = name @delegate = [:bar] end + def sleepy(duration) + sleep duration + end + def change_name(new_name) @name = new_name end def change_name_async(new_name) @@ -62,9 +66,13 @@ inspect end def send(string) string.reverse + end + + def shutdown + terminate end def method_missing(method_name, *args, &block) if delegates?(method_name) @delegate.send method_name, *args, &block