Class Texy::HtmlTagElement
In: lib/texy/modules/html.rb
Parent: DomElement

Methods

new   opening?   to_html  

Attributes

opening  [W] 
tags  [RW] 

Public Class methods

[Source]

# File lib/texy/modules/html.rb, line 180
        def initialize(texy)
            super
            self.tags = []
        end

Public Instance methods

[Source]

# File lib/texy/modules/html.rb, line 187
        def opening?
            @opening
        end

convert element to HTML string

[Source]

# File lib/texy/modules/html.rb, line 193
        def to_html
            if opening?
                Html.opening_tags(tags)
            else
                Html.closing_tags(tags)
            end
        end

[Validate]