Sha256: fb1178561472c362ef781f663ee000891c57abdf14c62694c24135e6cae80be7

Contents?: true

Size: 254 Bytes

Versions: 82

Compression:

Stored size: 254 Bytes

Contents

class Thor
  module CoreExt #:nodoc:
    class HashWithIndifferentAccess < ::Hash
      def has_key?(key)
        super(convert_key(key))
      end

      def fetch(key, default = nil)
        super(convert_key(key), default)
      end
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
berkshelf-4.0.1 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-4.0.0 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.3.0 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.2.4 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.2.3 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.2.2 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.2.1 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.2.0 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.5 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.4 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-2.0.18 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-2.0.17 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.3 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.2 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-2.0.16 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.1 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.1.0 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.0.1 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-3.0.0 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-2.0.15 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb