Sha256: 454622053acdd32025af3f286ae531bb786c221db9c03a2e3a688d5dfc3612cb
Contents?: true
Size: 300 Bytes
Versions: 1
Compression:
Stored size: 300 Bytes
Contents
module Kernel def singleton_class (class << self; self; end) end unless method_defined?(:singleton_class) end class Class def define_singleton_method(*args, &block) singleton_class.module_eval { define_method(*args, &block) } end unless method_defined?(:define_singleton_method) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-paperclip-2.5.0 | lib/dm-paperclip/ext/compatibility.rb |