method
included
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: RSS::Maker::AtomTextConstructBase::EnsureXMLContent
included(base)
public
Hide source
# File lib/rss/maker/base.rb, line 294 def included(base) super base.class_eval do %(type content xml_content).each do |element| attr_reader element attr_writer element if element != "xml_content" add_need_initialize_variable(element) end alias_method(:xhtml, :xml_content) end end