method
install_model
install_model(tag, uri, occurs=nil, getter=nil, plural=false)
public
Hide source
# File lib/rss/rss.rb, line 722 def install_model(tag, uri, occurs=nil, getter=nil, plural=false) getter ||= tag if m = self::MODELS.find {|t, u, o, g, p| t == tag and u == uri} m[2] = occurs else self::MODELS << [tag, uri, occurs, getter, plural] end end