Sha256: f15cdf1b6a52c5b29432eaf35edcfcb57942eb4ba932b4f060dc04621d16cc55
Contents?: true
Size: 241 Bytes
Versions: 15
Compression:
Stored size: 241 Bytes
Contents
class Class # undefine all instance methods, used for delegation class def undef_all_methods instance_methods.each{ |m| undef_method m unless (m =~ /^__/ || m.to_sym == :object_id || m.to_sym == :public_send ) } end end
Version data entries
15 entries across 15 versions & 2 rubygems