Sha256: 87fc878b1cb6c4495f6902876afc31f21d8aa3065e18beaf28c106198061791f
Contents?: true
Size: 314 Bytes
Versions: 185
Compression:
Stored size: 314 Bytes
Contents
module Nokogiri module XML class XPathContext ### # Register namespaces in +namespaces+ def register_namespaces(namespaces) namespaces.each do |k, v| k = k.gsub(/.*:/,'') # strip off 'xmlns:' or 'xml:' register_ns(k, v) end end end end end
Version data entries
185 entries across 185 versions & 20 rubygems