Class: ActivePath::Subscribers::PathHints
- Inherits:
-
Subscriber
- Object
- Subscriber
- ActivePath::Subscribers::PathHints
- Defined in:
- lib/active_path/subscribers/path_hints.rb
Instance Attribute Summary
Attributes inherited from Subscriber
Instance Method Summary collapse
Methods inherited from Subscriber
Instance Method Details
#perform ⇒ Object
5 6 7 8 |
# File 'lib/active_path/subscribers/path_hints.rb', line 5 def perform buffer.prepend("<!-- start #{partial}#{with_local_variables.to_s} --!>".html_safe) buffer.concat("<!-- end #{partial} --!>".html_safe) end |