Module: Liquid::ContextProfilingHook
- Included in:
- Context
- Defined in:
- lib/liquid/profiler/hooks.rb
Instance Attribute Summary collapse
-
#profiler ⇒ Object
Returns the value of attribute profiler.
Instance Method Summary collapse
Instance Attribute Details
#profiler ⇒ Object
Returns the value of attribute profiler.
26 27 28 |
# File 'lib/liquid/profiler/hooks.rb', line 26 def profiler @profiler end |
Instance Method Details
#new_isolated_subcontext ⇒ Object
28 29 30 31 32 |
# File 'lib/liquid/profiler/hooks.rb', line 28 def new_isolated_subcontext new_context = super new_context.profiler = profiler new_context end |