Class: Natsuzora::AST::Template
Instance Attribute Summary collapse
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(nodes) ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize(nodes) ⇒ Template
Returns a new instance of Template.
17 18 19 20 |
# File 'lib/natsuzora/ast.rb', line 17 def initialize(nodes, **) super(**) @nodes = nodes end |
Instance Attribute Details
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
15 16 17 |
# File 'lib/natsuzora/ast.rb', line 15 def nodes @nodes end |