Class: Paperize::Template
- Inherits:
-
Object
- Object
- Paperize::Template
- Defined in:
- lib/paperize/template.rb
Instance Attribute Summary collapse
-
#render_block ⇒ Object
readonly
Returns the value of attribute render_block.
Instance Method Summary collapse
-
#initialize(options = {}, &block) ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize(options = {}, &block) ⇒ Template
Returns a new instance of Template.
4 5 6 |
# File 'lib/paperize/template.rb', line 4 def initialize(={}, &block) @render_block = block end |
Instance Attribute Details
#render_block ⇒ Object (readonly)
Returns the value of attribute render_block.
3 4 5 |
# File 'lib/paperize/template.rb', line 3 def render_block @render_block end |