private Method

RootElementMixin.xmldecl

There's no documentation for this item.

Source Code

# File rss/rss.rb, line 1000
def xmldecl
  rv = %Q[<?xml version="#{@version}"]
  if @output_encoding or @encoding
    rv << %Q[ encoding="#{@output_encoding or @encoding}"]
  end
  rv << %Q[ standalone="yes"] if @standalone
  rv << "?>\n"
  rv
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.