Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • rss/maker/trackback.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::TrackBackModel::TrackBackAboutsBase::TrackBackAboutBase

Attributes

content[RW]
content=[RW]
resource[RW]
resource=[RW]
value[RW]

Public Instance Methods

have_required_values?() click to toggle source
 
               # File rss/maker/trackback.rb, line 28
def have_required_values?
  @value
end
            
to_feed(feed, current) click to toggle source
 
               # File rss/maker/trackback.rb, line 32
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