Sha256: 32c50dd509b760b251e9e28be009261a6b246a27048e2457c77c31a44795ffc3

Contents?: true

Size: 158 Bytes

Versions: 34

Compression:

Stored size: 158 Bytes

Contents

class MockRedis
  class IndifferentHash < Hash
    def has_key?(key)
      super(key.to_s)
    end

    def key?(key)
      super(key.to_s)
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
mock_redis-0.49.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.48.1 lib/mock_redis/indifferent_hash.rb
mock_redis-0.48.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.47.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.46.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.45.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.44.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.43.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.42.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.41.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.40.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.39.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.38.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.37.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.36.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.35.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.34.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.33.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.32.0 lib/mock_redis/indifferent_hash.rb
mock_redis-0.31.0 lib/mock_redis/indifferent_hash.rb