Module: PartiallyUseful::PartialRenderer
- Defined in:
- lib/partially_useful/partial_renderer.rb
Instance Method Summary collapse
Instance Method Details
#render(context, options, block) ⇒ Object
3 4 5 6 |
# File 'lib/partially_useful/partial_renderer.rb', line 3 def render(context, , block) msg = "rendering '#{[:partial]}' with locals '#{([:locals] || {}).keys}'" "<!-- start #{msg}-->\n#{super(context, , block)}\n<!-- end #{msg}-->\n".html_safe end |