Sha256: 8d4b987847656a3974fea092fea1cc4b850b56d4cf010018e20f292974934603
Contents?: true
Size: 250 Bytes
Versions: 4
Compression:
Stored size: 250 Bytes
Contents
require 'nokogiri' class Nokogiri::XML::Node # URI of namespace + node_name def uri ns = self.namespace ? self.namespace.href : RDF::XML.to_s RDF::URI.intern(ns + self.node_name) end end unless Nokogiri::XML::Node.method_defined?(:uri)
Version data entries
4 entries across 4 versions & 1 rubygems