Class: Paperize::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/paperize/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}, &block) ⇒ Template

Returns a new instance of Template.



4
5
6
# File 'lib/paperize/template.rb', line 4

def initialize(options={}, &block)
  @render_block = block
end

Instance Attribute Details

#render_blockObject (readonly)

Returns the value of attribute render_block.



3
4
5
# File 'lib/paperize/template.rb', line 3

def render_block
  @render_block
end