Sha256: fa310608f58bbcea69458e4f8be0e9cad2c51a3bffe8bb95c0539564963e82f8
Contents?: true
Size: 507 Bytes
Versions: 3
Compression:
Stored size: 507 Bytes
Contents
# encoding: utf-8 module IceNine # Core Ruby extensions module CoreExt # Extend Object with deep freezing module Object # Deep freeze an object # # @example # object = object.deep_freeze # # @return [self] # # @api public def deep_freeze IceNine.deep_freeze(self) end end # module Object end # module CoreExt end # module IceNine # Add Object#deep_freeze Object.instance_eval { include IceNine::CoreExt::Object }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ice_nine-0.10.0 | lib/ice_nine/core_ext/object.rb |
ice_nine-0.9.0 | lib/ice_nine/core_ext/object.rb |
ice_nine-0.8.0 | lib/ice_nine/core_ext/object.rb |