Method: CouchbaseModelLogging::Logger#key?

Defined in:
lib/couchbase_model_logging/logger.rb

#key?(key) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/couchbase_model_logging/logger.rb', line 16

def key?(key)
  !get(key).nil?
end