Sha256: c6a93cb5c451a1551671d69352f51320a0911dd644268faeaa833906e6e48f47

Contents?: true

Size: 205 Bytes

Versions: 3

Compression:

Stored size: 205 Bytes

Contents

# class Indifferent < Hash
#   def [] key
#     out = super key.to_sym
#     out.class == Hash ? Indifferent.new.merge(out) : out
#   end

#   def []= key, value
#     super key.to_sym, value
#   end
# end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clean-hash-0.5.8 ./lib/clean-hash/types/micro_indifferent.rb
clean-hash-0.5.6 ./lib/clean-hash/types/micro_indifferent.rb
clean-hash-0.5.5 ./lib/clean-hash/types/micro_indifferent.rb