private Method

XMLStyleSheetMixin.xml_stylesheet_pi

There's no documentation for this item.

Source Code

# File rss/xml-stylesheet.rb, line 13
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.