make_start_tag(indent, next_indent, attrs)
private
Hide source
# File lib/rss/rss.rb, line 1026 def make_start_tag(indent, next_indent, attrs) start_tag = ["#{indent}<#{full_name}"] unless attrs.empty? start_tag << attrs.collect do |key, value| %[#{h key}="#{h value}"] end.join("\n#{next_indent}") end start_tag.join(" ") end