Method: Liquid::DocumentProfilingHook#render_to_output_buffer
- Defined in:
- lib/liquid/profiler/hooks.rb
#render_to_output_buffer(context, output) ⇒ Object
18 19 20 21 |
# File 'lib/liquid/profiler/hooks.rb', line 18 def render_to_output_buffer(context, output) return super unless context.profiler context.profiler.profile(context.template_name) { super } end |