Class: Stack::Templates::Layout
- Inherits:
-
Object
- Object
- Stack::Templates::Layout
- Includes:
- Parsable, Stack::Template
- Defined in:
- lib/stack/templates/layout.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) ⇒ Layout
constructor
A new instance of Layout.
- #write!(*args) ⇒ Object
Methods included from Parsable
#extract_yaml, #parse!, #payload
Methods included from Stack::Template
#payload, #read, #render, #template_payload, #to_hash, #transform, #write_basename, #write_filename, #write_path
Constructor Details
#initialize(*args) ⇒ Layout
Returns a new instance of Layout.
7 8 9 10 11 |
# File 'lib/stack/templates/layout.rb', line 7 def initialize(*args) super parse! end |
Instance Method Details
#write!(*args) ⇒ Object
13 14 15 |
# File 'lib/stack/templates/layout.rb', line 13 def write!(*args) return nil end |