class DocxGenerator::Word::Body
Represent the ‘w:body` element from Office Open XML specification. This class should not be used directly by the users of the library.
Public Class Methods
new(content = [])
click to toggle source
Create a new ‘w:body` XML element. @param content [Array] An array of the children of the XML element (other XML elements).
Calls superclass method
DocxGenerator::Element::new
# File lib/docx_generator/word/base.rb, line 20 def initialize(content = []) super("w:body", {}, content) end