class Giter8::Template
Template
represents a Template
variable in an AST
. Contains a source file, the line and column where the template begins, the variable name to be looked up, a set of options, and the parent to which the node belongs to.
Attributes
column[RW]
line[RW]
name[RW]
options[RW]
parent[RW]
source[RW]
Public Class Methods
new(name, options, parent, source, line, column)
click to toggle source
# File lib/giter8/template.rb, line 10 def initialize(name, options, parent, source, line, column) @source = source @line = line @column = column @name = name @options = options @parent = parent end