Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • rss/atom.rb

Class/Module Index [+]

Quicksearch

RSS::Atom::DateConstruct

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

Examples:

  • 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)
  super
  klass.class_eval do
    @content_type = :w3cdtf
    include(ContentModel)
  end
end
            

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 NotAvailableValueError.new(tag_name, "") if content.nil?
end