Sha256: 80adaf0d73a88cf73460d792db8bc84e30ffc3c730c1b8bca3ed7bd515e57f96
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
module Kernel # From the backports gem # Standard in ruby 1.9. See official documentation[http://ruby-doc.org/core-1.9/classes/Object.html] def define_singleton_method(*args, &block) class << self self end.send(:define_method, *args, &block) end unless method_defined? :define_singleton_method end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
googleajax-1.0.1 | lib/googleajax/extensions/kernel.rb |
googleajax-1.0.0 | lib/googleajax/extensions/kernel.rb |