Class: Fierce::Renderer
- Inherits:
-
Mustache
- Object
- Mustache
- Fierce::Renderer
- Defined in:
- lib/fierce/renderer.rb
Instance Attribute Summary collapse
-
#mc ⇒ Object
readonly
Returns the value of attribute mc.
Instance Method Summary collapse
-
#initialize(mc) ⇒ Renderer
constructor
A new instance of Renderer.
- #partial(name) ⇒ Object
Constructor Details
#initialize(mc) ⇒ Renderer
Returns a new instance of Renderer.
5 6 7 |
# File 'lib/fierce/renderer.rb', line 5 def initialize(mc) @mc = mc end |
Instance Attribute Details
#mc ⇒ Object (readonly)
Returns the value of attribute mc.
3 4 5 |
# File 'lib/fierce/renderer.rb', line 3 def mc @mc end |
Instance Method Details
#partial(name) ⇒ Object
9 10 11 |
# File 'lib/fierce/renderer.rb', line 9 def partial(name) mc.partial(name) end |