method
ns_declarations
ns_declarations()
private
Hide source
# File lib/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