class Builder::XmlBase
def <<(text)
method/operation builders can use other builders as their
use << to append to the target, so by supporting this
It is also useful for stacking builder objects. Builders only
builder without changing the inserted markup.
generates strings. Just insert the string directly into the
This is useful when using non-builder enabled software that
builder.p { |x| x << "
HI" } #=>
HI
May be used within the markup brackets as:
Append text to the output target without escaping any markup.
def <<(text) _text(text) end