Class: Nokogiri::XML::Node
- Inherits:
-
Object
- Object
- Nokogiri::XML::Node
- Defined in:
- lib/reddy/nokogiri_hacks.rb
Instance Method Summary collapse
-
#uri ⇒ Object
URI of namespace + node_name.
Instance Method Details
#uri ⇒ Object
URI of namespace + node_name
4 5 6 7 |
# File 'lib/reddy/nokogiri_hacks.rb', line 4 def uri ns = self.namespace ? self.namespace.href : XML_NS.uri.to_s Reddy::URIRef.new(ns + self.node_name) end |