Class: Goldendocx::ContentTypes::Override

Inherits:
Object
  • Object
show all
Includes:
Element
Defined in:
lib/goldendocx/content_types/override.rb

Instance Method Summary collapse

Methods included from Element

#build_element, #initialize, #namespace, #tag, #tag_name, #to_element, #to_xml

Methods included from HasChildren

#children, #read_child, #read_children

Methods included from HasAttributes

#assign_attributes, #attributes, #read_attributes

Instance Method Details

#==(other) ⇒ Object



13
14
15
# File 'lib/goldendocx/content_types/override.rb', line 13

def ==(other)
  part_name == other.part_name && content_type == other.content_type
end