123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS09::Channel::Links::Link

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, LinkBase
Instance Chain:
self, LinkBase
Inherits: LinkBase
  • Object
Defined in: lib/rss/maker/0.9.rb

Instance Method Summary

Instance Method Details

#required_variable_names (private)

[ GitHub ]

  
# File 'lib/rss/maker/0.9.rb', line 161

def required_variable_names
  %w(href)
end

#to_feed(rss, channel)

[ GitHub ]

  
# File 'lib/rss/maker/0.9.rb', line 151

def to_feed(rss, channel)
  if have_required_values?
    channel.link = href
  else
    raise NotSetError.new("maker.channel.link",
                          not_set_required_variables)
  end
end