Class: Coradoc::CoreModel::HeaderElement

Inherits:
StructuralElement show all
Defined in:
lib/coradoc/core_model/structural_element.rb

Overview

Header / title block of a document

Instance Attribute Summary

Attributes inherited from StructuralElement

#attributes, #children, #content, #level

Attributes inherited from Base

#element_attributes, #id, #metadata_entries, #title

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from StructuralElement

#document?, #element_type, #heading_level, #preamble?, #section?

Methods inherited from Base

#accept, #attr, #metadata, #semantically_equivalent?, #set_attr, #set_metadata

Class Method Details

.element_type_nameObject



90
# File 'lib/coradoc/core_model/structural_element.rb', line 90

def element_type_name = 'header'

Instance Method Details

#header?Boolean

Returns:

  • (Boolean)


87
# File 'lib/coradoc/core_model/structural_element.rb', line 87

def header? = true