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