123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::RSS10::Textinput

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::TextinputBase
Defined in: lib/rss/maker/1.0.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 Attribute Details

#have_required_values?Boolean (readonly)

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 421

def have_required_values?
  super and @maker.channel.have_required_values?
end

Instance Method Details

#required_variable_names (private)

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 426

def required_variable_names
  %w(title description name link)
end

#to_feed(rss)

[ GitHub ]

  
# File 'lib/rss/maker/1.0.rb', line 409

def to_feed(rss)
  if @link
    textinput = RDF::Textinput.new(@link)
    set = setup_values(textinput)
    if set
      rss.textinput = textinput
      set_parent(textinput, rss)
      setup_other_elements(rss, textinput)
    end
  end
end