Sha256: da4c77a880265645920874e892f404190353e1dfb4eabca6c49af0b485046028
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
require 'jinx/helpers/hasher' class Hash include Jinx::Hasher # The EMPTY_HASH constant is an immutable empty hash, used primarily as a default argument. class << EMPTY_HASH ||= Hash.new def []=(key, value) raise NotImplementedError.new("Modification of the constant empty hash is not supported") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jinx-2.1.4 | lib/jinx/helpers/hash.rb |