Sha256: ef34004e492e61da64e32916d2e63fba09b9bce6e9d12942262a25bdea7d6765
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ice_nine-0.10.0 | lib/ice_nine/freezer/no_freeze.rb |