Module
Class Methods
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 215
def self.append_features(klass)
super
klass.class_eval do
@content_type = :w3cdtf
include(ContentModel)
end
end
No documentation available
Instance Methods
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 224
def atom_validate(ignore_unknown_element, tags, uri)
raise NotAvailableValueError.new(tag_name, "") if content.nil?
end
Raises NotAvailableValueError
if element content is nil