Class: Stack::Templates::Page
- Inherits:
-
Object
- Object
- Stack::Templates::Page
- Includes:
- Parsable, Stack::Template
- Defined in:
- lib/stack/templates/page.rb
Instance Attribute Summary
Attributes included from Parsable
Attributes included from Stack::Template
#basename, #extension, #generator, #original_extension, #path, #raw
Instance Method Summary collapse
-
#initialize(*args) ⇒ Page
constructor
A new instance of Page.
- #payload ⇒ Object
Methods included from Parsable
Methods included from Stack::Template
#read, #render, #template_payload, #to_hash, #transform, #write!, #write_basename, #write_filename, #write_path
Constructor Details
#initialize(*args) ⇒ Page
Returns a new instance of Page.
7 8 9 10 11 |
# File 'lib/stack/templates/page.rb', line 7 def initialize(*args) super parse! end |
Instance Method Details
#payload ⇒ Object
13 14 15 |
# File 'lib/stack/templates/page.rb', line 13 def payload super end |