# File lib/livejournal/comments-xml.rb, line 127 def endElement(name) return unless @content case name when 'maxid' @maxid = @content.to_i when 'date' @cur_comment.time = Time::xmlschema(@content) when 'subject' @cur_comment.subject = @content when 'body' @cur_comment.body = @content end @content = nil end