Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

In Files

  • rss/atom.rb

Class/Module Index [+]



Element used to describe an Atom date and time in the ISO 8601 format


  • 2013-03-04T15:30:02Z

  • 2013-03-04T10:30:02-05:00

Public Class Methods

append_features(klass) click to toggle source
               # File rss/atom.rb, line 214
def self.append_features(klass)
  klass.class_eval do
    @content_type = :w3cdtf

Public Instance Methods

atom_validate(ignore_unknown_element, tags, uri) click to toggle source

Raises NotAvailableValueError if element content is nil

               # File rss/atom.rb, line 223
def atom_validate(ignore_unknown_element, tags, uri)
  raise, "") if content.nil?

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