class Utopia::Content::MarkupParser::ParsedTag

A tag generated by parsing markup.

Attributes

offset[R]
tag[R]

Public Class Methods

new(name, offset) click to toggle source
# File lib/utopia/content/markup.rb, line 60
def initialize(name, offset)
        @offset = offset
        @tag = Tag.new(name, false, SymbolicHash.new)
end

Public Instance Methods

to_s() click to toggle source
# File lib/utopia/content/markup.rb, line 68
def to_s
        "<#{@tag.name}#{@tag.attributes.empty? ? '' : ' ...'}>"
end