lib/celluloid/actor_proxy.rb in celluloid-0.8.0 vs lib/celluloid/actor_proxy.rb in celluloid-0.9.0

- old
+ new

@@ -15,9 +15,17 @@ def class Actor.call @mailbox, :send, :class end + def is_a?(klass) + Actor.call @mailbox, :is_a?, klass + end + + def kind_of?(klass) + Actor.call @mailbox, :kind_of?, klass + end + def respond_to?(meth) Actor.call @mailbox, :respond_to?, meth end def methods(include_ancestors = true)