Sha256: 0722046e6fa756fe90947602a5e8596d521b9356feb123cdb0aaf0d63f51b70e
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
module Zetto::Storage::Common class Response < Hash protected def deep_freeze frozen = self.dup.each do |key, value| if (value.is_a?(Enumerable) && !value.is_a?(String)) value.deep_freeze else value.freeze end end self.replace(frozen) self.freeze end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zetto-2.2.0 | lib/zetto/storage/common/response.rb |