Module: RSS::Atom::ContentModel
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/rss/atom.rb |
Class Method Summary
Instance Method Summary
Class Method Details
.append_features(klass)
[ GitHub ]# File 'lib/rss/atom.rb', line 59
def append_features(klass) super klass.extend(ClassMethods) klass.content_setup(klass.content_type, klass.tag_name) end
Instance Method Details
#maker_target(target)
[ GitHub ]# File 'lib/rss/atom.rb', line 66
def maker_target(target) target end
#setup_maker_element(target) (private)
[ GitHub ]# File 'lib/rss/atom.rb', line 75
def setup_maker_element(target) target.__send__(setup_maker_element_writer, content) super end
#setup_maker_element_writer (private)
[ GitHub ]# File 'lib/rss/atom.rb', line 71
def setup_maker_element_writer "#{self.class.name.split(/::/).last.downcase}=" end