commit 092ce58aa8713f387ae3d0467b6d8029cf2765cd Author: Jonathan Date: Sun Oct 19 22:05:26 2014 -0400 Allowing calls to private_methods diff --git a/lib/celluloid/proxies/abstract_proxy.rb b/lib/celluloid/proxies/abstract_proxy.rb index 6a79acb..2db7a8e 100644 --- a/lib/celluloid/proxies/abstract_proxy.rb +++ b/lib/celluloid/proxies/abstract_proxy.rb @@ -5,7 +5,7 @@ module Celluloid def __class__; AbstractProxy; end # Needed for storing proxies in data structures - needed = [:object_id, :__id__, :hash] - instance_methods + needed = [:object_id, :__id__, :hash, :private_methods] - instance_methods if needed.any? include ::Kernel.dup.module_eval { undef_method(*(instance_methods - needed))