Module: RSS::Atom::DateConstruct
- Included in:
- Feed::Entry::Published, Feed::Updated
- Defined in:
- lib/rss/atom.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.append_features(klass) ⇒ Object
178 179 180 181 182 183 184 |
# File 'lib/rss/atom.rb', line 178 def self.append_features(klass) super klass.class_eval do @content_type = :w3cdtf include(ContentModel) end end |
Instance Method Details
#atom_validate(ignore_unknown_element, tags, uri) ⇒ Object
186 187 188 |
# File 'lib/rss/atom.rb', line 186 def atom_validate(ignore_unknown_element, , uri) raise NotAvailableValueError.new(tag_name, "") if content.nil? end |