Module: HasKey

Defined in:
lib/lru_redux/has_key_monkey_patch.rb

Instance Method Summary collapse

Instance Method Details

#has_key?(key) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/lru_redux/has_key_monkey_patch.rb', line 4

def has_key?(key)
  @data.has_key?(key)
end