模块 RSS::Atom::ContentModel
公共类方法
append_features(klass) 点击切换源代码
调用超类方法
# File rss-0.3.1/lib/rss/atom.rb, line 62 def append_features(klass) super klass.extend(ClassMethods) klass.content_setup(klass.content_type, klass.tag_name) end
公共实例方法
maker_target(target) 点击切换源代码
# File rss-0.3.1/lib/rss/atom.rb, line 69 def maker_target(target) target end
私有实例方法
setup_maker_element(target) 点击切换源代码
调用超类方法
# File rss-0.3.1/lib/rss/atom.rb, line 78 def setup_maker_element(target) target.__send__(setup_maker_element_writer, content) super end
setup_maker_element_writer() 点击切换源代码
# File rss-0.3.1/lib/rss/atom.rb, line 74 def setup_maker_element_writer "#{self.class.name.split(/::/).last.downcase}=" end