Method: Odf::Element::Heading#initialize

Defined in:
lib/odf/element/heading.rb

#initialize(parent, content, options = {}) ⇒ Heading

Returns a new instance of Heading.



12
13
14
15
# File 'lib/odf/element/heading.rb', line 12

def initialize(parent, content, options = {})
  options = { level: 1 }.merge(options)
  super(parent, content, options)
end