class RSS::Maker::XMLStyleSheets::XMLStyleSheet
Public Instance Methods
Source
# File bundled-src/rss-0.3.2/lib/rss/maker/base.rb, line 469 def to_feed(feed) xss = ::RSS::XMLStyleSheet.new guess_type_if_need(xss) set = setup_values(xss) if set feed.xml_stylesheets << xss end end
Private Instance Methods
Source
# File bundled-src/rss-0.3.2/lib/rss/maker/base.rb, line 479 def guess_type_if_need(xss) if @type.nil? xss.href = @href @type = xss.type end end
Source
# File bundled-src/rss-0.3.2/lib/rss/maker/base.rb, line 486 def required_variable_names %w(href type) end