模块 RSS::Atom::CommonModel
常量
- ELEMENTS
- NSPOOL
公共类方法
append_features(klass) 点击切换源码
调用父类方法
# File rss-0.3.1/lib/rss/atom.rb, line 29 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 # Returns the Atom URI W3C Namespace def required_uri URI end # Returns true def need_parent? true end end end end
need_parent?() 点击切换源码
返回 true
# File rss-0.3.1/lib/rss/atom.rb, line 46 def need_parent? true end
required_uri() 点击切换源码
返回 Atom
URI W3C 命名空间
# File rss-0.3.1/lib/rss/atom.rb, line 41 def required_uri URI end