In Files

  • rss/atom.rb
  • rss/dublincore/atom.rb

Class/Module Index [+]



Defines a child Atom Entry element for an Atom Feed

Public Instance Methods

have_author?(check_parent=true) click to toggle source

Returns whether any of the following are true

  • There are any authors in the feed

  • If the parent element has an author and the check_parent parameter was given.

  • There is a source element that has an author

               # File rss/atom.rb, line 496
def have_author?(check_parent=true)
  authors.any? {|author| !author.to_s.empty?} or
    (check_parent and @parent and @parent.have_author?) or
    (source and source.have_author?)

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