Module: Doc2Text::Odt::XmlNodes::Node::ClassMethods

Defined in:
lib/doc2text/odt_xml_node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#not_enclosing_tagsObject (readonly)

Returns the value of attribute not_enclosing_tags.



97
98
99
# File 'lib/doc2text/odt_xml_node.rb', line 97

def not_enclosing_tags
  @not_enclosing_tags
end

Instance Method Details

#not_enclosing(tag) ⇒ Object



99
100
101
102
# File 'lib/doc2text/odt_xml_node.rb', line 99

def not_enclosing(tag)
  @not_enclosing_tags ||= []
  @not_enclosing_tags << tag
end