Class: Webgen::PathHandler::Template
- Inherits:
-
Object
- Object
- Webgen::PathHandler::Template
- Defined in:
- lib/webgen/path_handler/template.rb
Overview
Path handler for handling template files in Webgen Page Format.
Constant Summary
Constants included from Base
Base::DEST_PATH_PARENT_SEGMENTS, Base::DEST_PATH_SEGMENTS
Instance Method Summary collapse
-
#create_nodes(path, blocks) ⇒ Object
Create a template node for
path
.
Methods included from PageUtils
#create_node, #parse_meta_info!
Methods included from Base
#initialize, #parse_meta_info!
Instance Method Details
#create_nodes(path, blocks) ⇒ Object
Create a template node for path
.
16 17 18 19 20 21 |
# File 'lib/webgen/path_handler/template.rb', line 16 def create_nodes(path, blocks) create_node(path) do |node| node.['no_output'] = true set_blocks(node, blocks) end end |