Class: Revealize::DeckTemplate
- Inherits:
-
Struct
- Object
- Struct
- Revealize::DeckTemplate
- Defined in:
- lib/revealize/deck_template.rb
Instance Attribute Summary collapse
-
#layout_file ⇒ Object
Returns the value of attribute layout_file.
Instance Method Summary collapse
Instance Attribute Details
#layout_file ⇒ Object
Returns the value of attribute layout_file
3 4 5 |
# File 'lib/revealize/deck_template.rb', line 3 def layout_file @layout_file end |
Instance Method Details
#render(deck) ⇒ Object
4 5 6 |
# File 'lib/revealize/deck_template.rb', line 4 def render(deck) Haml::Engine.new(layout_file).render(deck) end |