Module
Class Methods
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 60
def append_features(klass)
super
klass.extend(ClassMethods)
klass.content_setup(klass.content_type, klass.tag_name)
end
No documentation available
Instance Methods
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 67
def maker_target(target)
target
end
No documentation available
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 76
def setup_maker_element(target)
target.__send__(setup_maker_element_writer, content)
super
end
No documentation available
lib/rss/atom.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/atom.rb, line 72
def setup_maker_element_writer
"#{self.class.name.split(/::/).last.downcase}="
end
No documentation available