Class: MockRedis::IndifferentHash
- Inherits:
-
Hash
- Object
- Hash
- MockRedis::IndifferentHash
- Defined in:
- lib/mock_redis/indifferent_hash.rb
Instance Method Summary collapse
Instance Method Details
#has_key?(key) ⇒ Boolean
3 4 5 |
# File 'lib/mock_redis/indifferent_hash.rb', line 3 def has_key?(key) super(key.to_s) end |
#key?(key) ⇒ Boolean
7 8 9 |
# File 'lib/mock_redis/indifferent_hash.rb', line 7 def key?(key) super(key.to_s) end |