Sha256: 537238bc6b9d3dae98a2b18a31de6d27fdc386125e78de105fc9cbe9295f2b4b

Contents?: true

Size: 211 Bytes

Versions: 7

Compression:

Stored size: 211 Bytes

Contents

module Hashie
  # @author Jamie Winsor <jamie@vialstudios.com>
  class Hash < ::Hash
    # Ensure we always symbolize keys when calling #to_hash
    def to_hash
      super.deep_symbolize_keys
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chozo-0.6.1 lib/chozo/hashie_ext/hash.rb
chozo-0.6.0 lib/chozo/hashie_ext/hash.rb
chozo-0.5.0 lib/chozo/hashie_ext/hash.rb
chozo-0.4.2 lib/chozo/hashie_ext/hash.rb
chozo-0.4.1 lib/chozo/hashie_ext/hash.rb
chozo-0.4.0 lib/chozo/hashie_ext/hash.rb
chozo-0.3.0 lib/chozo/hashie_ext/hash.rb