123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS20::Items::Item::Source

Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::RSS09::Items::Item::Source
Defined in: lib/rss/maker/2.0.rb

Instance Method Summary

Instance Method Details

#required_variable_names (private)

[ GitHub ]

  
# File 'lib/rss/maker/2.0.rb', line 158

def required_variable_names
  %w(url content)
end

#to_feed(rss, item)

[ GitHub ]

  
# File 'lib/rss/maker/2.0.rb', line 147

def to_feed(rss, item)
  source = Rss::Channel::Item::Source.new
  set = setup_values(source)
  if set
    item.source = source
    set_parent(source, item)
    setup_other_elements(rss, source)
  end
end