Home » Ruby-3.3.6 » rss » Index (S) » RSS » Maker » Atom » Feed » Items » Item » Source ▲
123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::Atom::Feed::Items::Item::Source

Relationships & Source Files
Namespace Children
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SourceBase
Instance Chain:
self, SourceBase
Inherits: SourceBase
  • Object
Defined in: lib/rss/maker/feed.rb

Instance Method Summary

Instance Method Details

#required_variable_names (private)

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 248

def required_variable_names
  []
end

#to_feed(feed, current)

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 238

def to_feed(feed, current)
  source = current.class::Source.new
  setup_values(source)
  current.source = source
  set_parent(source, current)
  setup_other_elements(feed, source)
  current.source = nil if source.to_s == "<source/>"
end

#variables (private)

[ GitHub ]

  
# File 'lib/rss/maker/feed.rb', line 252

def variables
  super + ["updated"]
end