Sha256: de3bda81f83a646874d562287c5cfdb45bfb50de257601880903e3630f72ba1f
Contents?: true
Size: 539 Bytes
Versions: 7
Compression:
Stored size: 539 Bytes
Contents
# encoding: utf-8 module IceNine class Freezer # A freezer class that does not freeze anything class NoFreeze < self # Pass through the object without freezing it # # @example # object = IceNine::Freezer::NoFreeze.deep_freeze(object) # object.frozen? # => false # # @param [Object] object # # @return [Object] # # @api public def self.deep_freeze(object) object end end # class NoFreeze end # class Freezer end # module IceNine
Version data entries
7 entries across 7 versions & 1 rubygems