Method: RubySmart::SimpleLogger::Extensions::Scene::ClassMethods#scene?

Defined in:
lib/ruby_smart/simple_logger/extensions/scene.rb

#scene?(key) ⇒ Boolean

returns true, if provided key is a registered scene option

Parameters:

  • key (Symbol)

Returns:

  • (Boolean)


33
34
35
# File 'lib/ruby_smart/simple_logger/extensions/scene.rb', line 33

def scene?(key)
  scenes.key?(key)
end