Class: Mack::Rendering::Partial
- Defined in:
- lib/rendering/classes/partial.rb
Overview
Used when someone calls render(:partial => “latest_news”)
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mack::Rendering::Base
Instance Method Details
#render ⇒ Object
6 7 8 |
# File 'lib/rendering/classes/partial.rb', line 6 def render render_file([:partial], {:is_partial => true}.merge()) end |