Sha256: 873f3b430980563c29ff500e001eeaccdf4113a6e21cc70f749a5673ce0264b3
Contents?: true
Size: 221 Bytes
Versions: 10
Compression:
Stored size: 221 Bytes
Contents
require 'nokogiri' class Nokogiri::XML::Node # URI of namespace + node_name def uri ns = self.namespace ? self.namespace.href : RdfContext::XML_NS.uri.to_s RdfContext::URIRef.new(ns + self.node_name) end end
Version data entries
10 entries across 10 versions & 1 rubygems