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-2.0.4 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-1.4.6 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-2.0.3 lib/berkshelf/thor_ext/hash_with_indifferent_access.rb
berkshelf-2.0.1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-2.0.0 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.5 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-2.0.0.beta lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.4 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.3 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.2 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.0 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.4.0.rc1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.3.1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.3.0.rc1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.2.1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.2.0.rc1 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.1.6 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.1.5 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-1.1.4 lib/thor/monkies/hash_with_indifferent_access.rb