Sha256: bd8ec4aaf7b35ea77eddc5977d8a10e148371f978bf8adc8dd53311418698b90
Contents?: true
Size: 229 Bytes
Versions: 2
Compression:
Stored size: 229 Bytes
Contents
# frozen_string_literal: true module Kernel # Returns the object's singleton class. unless respond_to?(:singleton_class) def singleton_class class << self self end end end # exists in 1.9.2 end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
files.com-1.0.55 | docs/vendor/bundle/ruby/2.5.0/gems/memoist-0.16.0/lib/memoist/core_ext/singleton_class.rb |
memoist-0.16.0 | lib/memoist/core_ext/singleton_class.rb |