123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS09::Textinput

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::TextinputBase
Defined in: lib/rss/maker/0.9.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/0.9.rb', line 456

def required_variable_names
  %w(title description name link)
end

#to_feed(rss)

[ GitHub ]

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

def to_feed(rss)
  textInput = Rss::Channel::TextInput.new
  set = setup_values(textInput)
  if set
    rss.channel.textInput = textInput
    set_parent(textInput, rss.channel)
    setup_other_elements(rss, textInput)
  end
end