Marten::Template::Node::Text
Inherits Marten::Template::Node::Base < Reference < Object
Represents a text node.
A text will simply output its raw content at rendering time.
Constructors
Instance methods
Given a Marten::Template::Context object, generates a String output.
without_trailing_whitespace
Returns a copy of the text node with trailing whitespace removed, or nil if the result is empty.