Sha256: 9954357955b55f07b774b4a81cf3f68be8bc9f2c270eb483f246267c2579a8af

Contents?: true

Size: 511 Bytes

Versions: 17

Compression:

Stored size: 511 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'webgen/path_handler/base'
require 'webgen/path_handler/page_utils'

module Webgen
  class PathHandler

    # Path handler for handling template files in Webgen Page Format.
    class Template

      include Base
      include PageUtils

      # Create a template node for +path+.
      def create_nodes(path, blocks)
        create_node(path) do |node|
          node.meta_info['no_output'] = true
          set_blocks(node, blocks)
        end
      end

    end

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
webgen-1.7.3 lib/webgen/path_handler/template.rb
webgen-1.7.2 lib/webgen/path_handler/template.rb
webgen-1.7.1 lib/webgen/path_handler/template.rb
webgen-1.7.0 lib/webgen/path_handler/template.rb
webgen-1.6.0 lib/webgen/path_handler/template.rb
webgen-1.5.2 lib/webgen/path_handler/template.rb
webgen-1.5.1 lib/webgen/path_handler/template.rb
webgen-1.5.0 lib/webgen/path_handler/template.rb
webgen-1.4.1 lib/webgen/path_handler/template.rb
webgen-1.4.0 lib/webgen/path_handler/template.rb
webgen-1.3.0 lib/webgen/path_handler/template.rb
webgen-1.2.1 lib/webgen/path_handler/template.rb
webgen-1.2.0 lib/webgen/path_handler/template.rb
webgen-1.1.0 lib/webgen/path_handler/template.rb
webgen-1.0.0 lib/webgen/path_handler/template.rb
webgen-1.0.0.beta3 lib/webgen/path_handler/template.rb
webgen-1.0.0.beta2 lib/webgen/path_handler/template.rb