123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::Atom::Feed::Image

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::ImageBase
Defined in: lib/rss/maker/feed.rb

Constant Summary

::RSS::Maker::Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from RSS::Maker::Base

Instance Method Details

#required_variable_names (private)

[ GitHub ]

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

def required_variable_names
  %w(url)
end

#to_feed(feed)

[ GitHub ]

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

def to_feed(feed)
   = feed.class::Logo.new
  class << 
    alias_method(:url=, :content=)
  end
  set = setup_values()
  class << 
    remove_method(:url=)
  end
  if set
    feed. = 
    set_parent(, feed)
    setup_other_elements(feed, )
  elsif variable_is_set?
    raise NotSetError.new("maker.image", not_set_required_variables)
  end
end