Module: RSS::Atom::CommonModel
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
Entry,
Feed,
Feed::Author,
Feed::Category,
Feed::Contributor,
Feed::Entry,
Feed::Entry::Content,
Feed::Entry::Published,
Feed::Entry::Source,
Feed::Entry::Summary,
Feed::Generator,
Feed::Icon,
Feed::Id,
Feed::Link,
Feed::Logo,
Feed::Rights,
Feed::Subtitle,
Feed::Title,
Feed::Updated,
PersonConstruct::Email,
PersonConstruct::Name,
PersonConstruct::Uri
| |
Defined in: | lib/rss/atom.rb |
Constant Summary
-
ELEMENTS =
# File 'lib/rss/atom.rb', line 26[]
-
NSPOOL =
# File 'lib/rss/atom.rb', line 25{}
Class Method Summary
Class Method Details
.append_features(klass)
[ GitHub ]# File 'lib/rss/atom.rb', line 28
def self.append_features(klass) super klass.install_must_call_validator("atom", URI) [ ["lang", :xml], ["base", :xml], ].each do |name, uri, required| klass.install_get_attribute(name, uri, required, [nil, :inherit]) end klass.class_eval do class << self def required_uri URI end def need_parent? true end end end end