Class: Tracing::BaseTemplate
Instance Method Summary
collapse
#indentation, #method_stack, #output, #output_handler, #space_count
Instance Method Details
#handle_after_call(context) ⇒ Object
5
6
7
8
|
# File 'lib/templates/base_template.rb', line 5
def handle_after_call(context)
template = end_template(context)
output(template, context)
end
|
#handle_before_call(context) ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/templates/base_template.rb', line 10
def handle_before_call(context)
template = before_template(context)
if context[:block]
template << before_block_template
end
output(template, context)
end
|