Module: ActivePath::Renderer::PathHints

Included in:
PartialRenderer
Defined in:
lib/active_path/renderer/path_hints.rb

Instance Method Summary collapse

Instance Method Details

#end_path_hints(output_buffer) ⇒ Object



8
9
10
# File 'lib/active_path/renderer/path_hints.rb', line 8

def end_path_hints(output_buffer)
  output_buffer.concat("<!-- end #{partial_name} --!>".html_safe)
end

#start_path_hints(output_buffer) ⇒ Object



4
5
6
# File 'lib/active_path/renderer/path_hints.rb', line 4

def start_path_hints(output_buffer)
  output_buffer.prepend("<!-- start #{partial_name}#{with_local_variables.to_s} --!>".html_safe)
end