Class: Template::Node::TextPart
- Inherits:
-
Template::Node
- Object
- Code::Node
- Template::Node
- Template::Node::TextPart
- Defined in:
- lib/template/node/text_part.rb
Instance Method Summary collapse
- #evaluate(**args) ⇒ Object
-
#initialize(text) ⇒ TextPart
constructor
A new instance of TextPart.
Constructor Details
#initialize(text) ⇒ TextPart
Returns a new instance of TextPart.
4 5 6 |
# File 'lib/template/node/text_part.rb', line 4 def initialize(text) @text = text end |