# File lib/feedparser/feedparser.rb, line 106 def to_s(localtime = true) s = '' s += "Type: #{@type}\n" s += "Encoding: #{@encoding}\n" s += "Title: #{@title}\n" s += "Link: #{@link}\n" s += "Description: #{@description}\n" s += "Creator: #{@creator}\n" s += "\n" @items.each { |i| s += i.to_s(localtime) } s end