| Class | RSS::Maker::ItemsBase::ItemBase |
| In: |
lib/rss/maker/base.rb
lib/rss/maker/dublincore.rb lib/rss/maker/itunes.rb lib/rss/maker/image.rb lib/rss/maker/content.rb lib/rss/maker/slash.rb lib/rss/maker/trackback.rb lib/rss/maker/taxonomy.rb |
| Parent: | Base |
| CategoriesBase | = | ChannelBase::CategoriesBase |
| AuthorsBase | = | ChannelBase::AuthorsBase |
| LinksBase | = | ChannelBase::LinksBase |
| ContributorsBase | = | ChannelBase::ContributorsBase |
| description | -> | summary |
| description= | -> | summary= |
# File lib/rss/maker/base.rb, line 707
707: def <=>(other)
708: _date = date || dc_date
709: _other_date = other.date || other.dc_date
710: if _date and _other_date
711: _date <=> _other_date
712: elsif _date
713: 1
714: elsif _other_date
715: -1
716: else
717: 0
718: end
719: end