Sha256: b0102c1b4c67e3bd38d34c554d02d05217fc88a2d588f4594950ab7ae2ffdc61
Contents?: true
Size: 239 Bytes
Versions: 16
Compression:
Stored size: 239 Bytes
Contents
class Object def metaclass class << self self end end def meta_eval(&block) metaclass.instance_eval &block end def meta_def(name, &block) meta_eval do define_method name, &block end end end
Version data entries
16 entries across 16 versions & 7 rubygems