| Class | RSS::Rss::Channel::Item |
| In: |
rss/trackback.rb
rss/2.0.rb rss/0.9.rb |
| Parent: | Object |
| children | -> | children09 |
| _tags | -> | _tags09 |
# File rss/2.0.rb, line 77 def other_element(convert, indent) rv = "\#{author_element(false, indent)}\n\#{comments_element(false, indent)}\n\#{pubDate_element(false, indent)}\n\#{guid_element(false, indent)}\n" rv << super end
# File rss/0.9.rb, line 322 def to_s(convert=true, indent=calc_indent) next_indent = indent + INDENT rv = "\#{indent}<item>\n\#{title_element(false, next_indent)}\n\#{link_element(false, next_indent)}\n\#{description_element(false, next_indent)}\n\#{category_element(false, next_indent)}\n\#{source_element(false, next_indent)}\n\#{enclosure_element(false, next_indent)}\n\#{other_element(false, next_indent)}\n\#{indent}</item>\n" rv = @converter.convert(rv) if convert and @converter rv end