Class: StructureElements::Title

Inherits:
ContainerElement
  • Object
show all
Defined in:
lib/reparcs/elements/structure_elements.rb

Overview

A title element ‘<title></title>’ Use: Define a documents title

Instance Method Summary collapse

Constructor Details

#initializeTitle

Create a new title element, takes a optional hash of attributes as paramater



55
56
57
58
59
# File 'lib/reparcs/elements/structure_elements.rb', line 55

def initialize
  super("title")
  @start_element = "<title"
  @end_element = "</title>"
end