Class: ActivePath::PathHints::Subscriber

Inherits:
Subscribers::Subscriber
  • Object
show all
Defined in:
lib/active_path/path_hints/subscriber.rb

Instance Method Summary collapse

Instance Method Details

#performObject



5
6
7
8
# File 'lib/active_path/path_hints/subscriber.rb', line 5

def perform
  buffer.prepend("<!-- start #{partial}#{with_local_variables.to_s} --!>".html_safe)
  buffer.concat("<!-- end #{partial} --!>".html_safe)
end