method
set_parent
set_parent(target, parent)
private
Hide source
# File lib/rss/maker/base.rb, line 241 def set_parent(target, parent) target.parent = parent if target.class.need_parent? end