spec/support/example_actor_class.rb in celluloid-0.13.0.pre vs spec/support/example_actor_class.rb in celluloid-0.13.0.pre2
- old
+ new
@@ -20,9 +20,13 @@
def greet
"Hi, I'm #{@name}"
end
+ def actor?
+ Celluloid.actor?
+ end
+
def run(*args)
yield(*args)
end
def crash