Sha256: 25d1c8f8cb4a5f7feaf832081dd20d41e34ace30d373c66b1b5c79e540e4765f
Contents?: true
Size: 215 Bytes
Versions: 1
Compression:
Stored size: 215 Bytes
Contents
class Object def publish_private_methods(include_inherited = true) private_methods(include_inherited).each do |method| singleton_class.instance_eval do public(method) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
method_publisher-0.1.0 | lib/method_publisher/core_ext/object/public.rb |