# File lib/html/element.rb, line 255 def write(io) io << self children.each { |t| t.write(io) } unless tag_info.is_empty_element io.puts( "</#{tag()}>" ) end end