Instance Methods
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/maker/base.rb, line 479
def guess_type_if_need(xss)
if @type.nil?
xss.href = @href
@type = xss.type
end
end
No documentation available
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/maker/base.rb, line 486
def required_variable_names
%w(href type)
end
No documentation available
lib/rss/maker/base.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/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
No documentation available