Sha256: f4e89e88b79a50b051e048760cd6ff981ce6d0b34da9f3442023d1dd6cc3b202
Contents?: true
Size: 230 Bytes
Versions: 5
Compression:
Stored size: 230 Bytes
Contents
unless respond_to?(:define_singleton_method) class Object def define_singleton_method(name, &block) singleton_class = class << self; self; end singleton_class.send(:define_method, name, &block) end end end
Version data entries
5 entries across 5 versions & 4 rubygems