Sha256: 95af13c813d2d765375098b5f27553f8e4ed4881838c2c45602e1bfe28b9dbb5
Contents?: true
Size: 210 Bytes
Versions: 1
Compression:
Stored size: 210 Bytes
Contents
# frozen_string_literal: true module Kernel # Returns the object's singleton class. def singleton_class class << self self end end unless respond_to?(:singleton_class) # exists in 1.9.2 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
memoist-0.15.0 | lib/memoist/core_ext/singleton_class.rb |