Class: Krupuk::Layout
- Inherits:
-
Object
- Object
- Krupuk::Layout
- Defined in:
- lib/krupuk/layout.rb
Instance Method Summary collapse
-
#initialize(pack) ⇒ Layout
constructor
A new instance of Layout.
- #render ⇒ Object
Constructor Details
#initialize(pack) ⇒ Layout
Returns a new instance of Layout.
5 6 7 8 9 |
# File 'lib/krupuk/layout.rb', line 5 def initialize(pack) @pack = pack @config = Krupuk.configuration @pdf = create_pdf end |