module Docx::Elements::Containers::Container

Public Instance Methods

blank!() click to toggle source

Erase text within an element

# File lib/docx/containers/container.rb, line 14
def blank!
  @node.xpath(".//w:t").each {|t| t.content = '' }
end
properties() click to toggle source

Relation methods TODO: Create a properties object, include Element

# File lib/docx/containers/container.rb, line 9
def properties
  @node.at_xpath("./#{@properties_tag}")
end
remove!() click to toggle source
# File lib/docx/containers/container.rb, line 18
def remove!
  @node.remove
end