Module
Attributes
Read & Write
No documentation available
Class Methods
::
lib/rss/xml-stylesheet.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/xml-stylesheet.rb, line 8
def initialize(*args)
super
@xml_stylesheets = []
end
No documentation available
Instance Methods
lib/rss/xml-stylesheet.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/rss/xml-stylesheet.rb, line 14
def xml_stylesheet_pi
xsss = @xml_stylesheets.collect do |xss|
pi = xss.to_s
pi = nil if /\A\s*\z/ =~ pi
pi
end.compact
xsss.push("") unless xsss.empty?
xsss.join("\n")
end
No documentation available