Class Texy::InlineTagElement
In: lib/texy/dom.rb
Parent: HtmlElement

Represent HTML tags (elements without content) Used as children of TextualElement

Methods

to_html  

Public Instance methods

convert element to HTML string

[Source]

# File lib/texy/dom.rb, line 282
        def to_html
            if behave_as_opening
                tags = []
                generate_tags(tags)

                @closing_tag = Html.closing_tags(tags)
                Html.opening_tags(tags)
            else
                @closing_tag
            end
        end

[Validate]