In Files

  • rss/maker/base.rb
  • rss/maker/content.rb
  • rss/maker/dublincore.rb
  • rss/maker/image.rb
  • rss/maker/itunes.rb
  • rss/maker/slash.rb
  • rss/maker/taxonomy.rb
  • rss/maker/trackback.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::ItemsBase::ItemBase

Public Instance Methods

<=>(other) click to toggle source
 
               # File rss/maker/base.rb, line 756
def <=>(other)
  _date = date || dc_date
  _other_date = other.date || other.dc_date
  if _date and _other_date
    _date <=> _other_date
  elsif _date
    1
  elsif _other_date
    -1
  else
    0
  end
end
            
date=(_date) click to toggle source
 
               # File rss/maker/base.rb, line 733
def date=(_date)
  @date = _parse_date_if_needed(_date)
end
            
pubDate() click to toggle source
 
               # File rss/maker/base.rb, line 737
def pubDate
  date
end
            
pubDate=(date) click to toggle source
 
               # File rss/maker/base.rb, line 741
def pubDate=(date)
  self.date = date
end
            
updated() click to toggle source
 
               # File rss/maker/base.rb, line 745
def updated
  date
end
            
updated=(date) click to toggle source
 
               # File rss/maker/base.rb, line 749
def updated=(date)
  self.date = date
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus