Method: Liquid::Profiler::Timing#initialize
- Defined in:
- lib/liquid/profiler.rb
#initialize(code: nil, template_name: nil, line_number: nil) ⇒ Timing
Returns a new instance of Timing.
54 55 56 57 58 59 |
# File 'lib/liquid/profiler.rb', line 54 def initialize(code: nil, template_name: nil, line_number: nil) @code = code @template_name = template_name @line_number = line_number @children = [] end |