method
included
v1_8_7_72 -
Show latest stable
-
0 notes -
Class: RSS::Maker::AtomTextConstructBase::EnsureXMLContent
included(base)
public
Hide source
# File lib/rss/maker/base.rb, line 284 def included(base) super base.class_eval do %w(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