Sha256: 3b10e4406bd31771de1bae05780413f8995a54d1217b08fb326f1689765140f4
Contents?: true
Size: 302 Bytes
Versions: 6
Compression:
Stored size: 302 Bytes
Contents
class CleanClass < BasicObject # remove methods from the class! #def self.purge_methods (self.instance_methods-[ :undef_method, :object_id, :__send__, :methods, :alias, :new ]).each do |method| undef_method method end #end end
Version data entries
6 entries across 6 versions & 1 rubygems