Class: Gitlab::TemplateParser::AST::Text
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::TemplateParser::AST::Text
- Defined in:
- lib/gitlab/template_parser/ast.rb
Overview
A single text node.
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
84 85 86 |
# File 'lib/gitlab/template_parser/ast.rb', line 84 def text @text end |
Instance Method Details
#evaluate ⇒ Object
85 86 87 |
# File 'lib/gitlab/template_parser/ast.rb', line 85 def evaluate(*) text end |