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

Inherits:
TextinputBase show all
Defined in:
lib/rss/maker/0.9.rb

Constant Summary

Constants inherited from Base

Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS

Instance Attribute Summary

Attributes inherited from Base

#maker

Instance Method Summary collapse

Methods included from DublinCoreModel

append_features, install_dublin_core

Methods inherited from Base

add_need_initialize_variable, add_other_element, def_array_element, def_classed_element, def_classed_element_without_accessor, def_classed_elements, def_csv_element, def_other_element, def_other_element_without_accessor, #have_required_values?, inherited, inherited_base, #initialize, need_initialize_variables, other_elements, #variable_is_set?

Methods included from Utils::InheritedReader

#inherited_array_reader, #inherited_hash_reader, #inherited_reader

Constructor Details

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

Instance Method Details

#to_feed(rss) ⇒ Object



445
446
447
448
449
450
451
452
453
# 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