class RSS::Maker::TrackBackModel::TrackBackAboutsBase::TrackBackAboutBase
属性
content[RW]
content=[RW]
resource[RW]
resource=[RW]
value[RW]
公共实例方法
have_required_values?() 点击切换源代码
# File rss-0.3.1/lib/rss/maker/trackback.rb, line 29 def have_required_values? @value end
to_feed(feed, current) 点击切换源代码
# File rss-0.3.1/lib/rss/maker/trackback.rb, line 33 def to_feed(feed, current) if current.respond_to?(:trackback_abouts) and have_required_values? about = current.class::TrackBackAbout.new setup_values(about) setup_other_elements(about) current.trackback_abouts << about end end