class Eiwa::Tag::Any
Attributes
characters[R]
parent[R]
tag_name[R]
Public Instance Methods
add_characters(s)
click to toggle source
# File lib/eiwa/tag/any.rb, line 12 def add_characters(s) @characters ||= "" @characters << s.chomp end
end_child(child)
click to toggle source
# File lib/eiwa/tag/any.rb, line 17 def end_child(child) end
end_self()
click to toggle source
# File lib/eiwa/tag/any.rb, line 20 def end_self end
start(tag_name, attrs, parent)
click to toggle source
# File lib/eiwa/tag/any.rb, line 6 def start(tag_name, attrs, parent) @tag_name = tag_name @attrs = Hash[attrs] @parent = parent end
to_s()
click to toggle source
# File lib/eiwa/tag/any.rb, line 23 def to_s "<#{@tag_name}>#{@characters}</#{@tag_name}>" end