Module
Class Methods
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rss/atom.rb, line 230
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.5.9/lib/rss/atom.rb, line 239
def atom_validate(ignore_unknown_element, tags, uri)
raise NotAvailableValueError.new(tag_name, "") if content.nil?
end
Raises NotAvailableValueError
if element content is nil