Sha256: dedc9e1ed6c99c694d31e2b5589327c89cde3695191678a921ee649c754f5593
Contents?: true
Size: 567 Bytes
Versions: 12
Compression:
Stored size: 567 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 # @param [RecursionGuard] _recursion_guard # # @return [Object] def self.guarded_deep_freeze(object, _recursion_guard) object end end # NoFreeze end # Freezer end # IceNine
Version data entries
12 entries across 10 versions & 4 rubygems