Module: MDOM::InlineContainer
- Defined in:
- lib/mdom/builder.rb
Overview
Adds a batch-append helper to the block/inline nodes that carry inline content, so the builder can attach parsed parts in one call.
Instance Method Summary collapse
Instance Method Details
#append_parts(nodes) ⇒ Object
264 265 266 267 |
# File 'lib/mdom/builder.rb', line 264 def append_parts(nodes) nodes.each { |node| append(node) } self end |