class RSS::Maker::RSS20::Items::Item
私有实例方法
not_set_required_variables() 点击以切换源代码
# File rss-0.3.1/lib/rss/maker/2.0.rb, line 100 def not_set_required_variables vars = super if !title {|t| t.have_required_values?} and !description {|d| d.have_required_values?} vars << "title or description" end vars end
required_variable_names() 点击以切换源代码
# File rss-0.3.1/lib/rss/maker/2.0.rb, line 96 def required_variable_names [] end
variables() 点击以切换源代码
调用父类方法
# File rss-0.3.1/lib/rss/maker/2.0.rb, line 109 def variables super + ["pubDate"] end