Marten::Template::ContextProducer::Debug
Inherits Marten::Template::ContextProducer / Reference / Object
Context producer that adds a debug variable based on the whether debug mode is enabled or not.
Instance methods
Returns a hash of values to include in a template context.
The method must return a hash or named tuple if there are values to return, otherwise it can also return nil
if it can't produce any values.