raw (accessor)
string is String content, raw is a boolean
string (accessor)
string is String content, raw is a boolean
initialize
Arguments
arg
if a String, the content is set to the String. If a Text, the object is shallowly cloned. If a Source, the source is parsed for text content up to the next element. If a parent, the parent of this object is set to the argument.
whitespace<false>
(boolean, optional) if true, whitespace is respected
parent<nil>
(Parent, optional) if given, the parent of this object will be set to the argument
Constructor