Class: StructureElements::Title
- Inherits:
-
ContainerElement
- Object
- ContainerElement
- StructureElements::Title
- Defined in:
- lib/reparcs/elements/structure_elements.rb
Overview
A title element ‘<title></title>’ Use: Define a documents title
Instance Method Summary collapse
-
#initialize ⇒ Title
constructor
Create a new title element, takes a optional hash of attributes as paramater.
Constructor Details
#initialize ⇒ Title
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 |