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-0.5.0.rc2 lib/thor/monkies/hash_with_indifferent_access.rb
berkshelf-0.5.0.rc1 lib/thor/monkies/hash_with_indifferent_access.rb