private Method

RootElementMixin.ns_declarations

There's no documentation for this item.

Source Code

# File rss/rss.rb, line 1010
def ns_declarations
  decls = {}
  self.class::NSPOOL.collect do |prefix, uri|
    prefix = ":#{prefix}" unless prefix.empty?
    decls["xmlns#{prefix}"] = uri
  end
  decls
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.