Class: XML::Util::NamespaceNode

Inherits:
Object
  • Object
show all
Defined in:
lib/xml/util/xmlcanonicalizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prefix, uri) ⇒ NamespaceNode

Returns a new instance of NamespaceNode.



77
78
79
80
# File 'lib/xml/util/xmlcanonicalizer.rb', line 77

def initialize(prefix, uri)
  @prefix = prefix
  @uri = uri
end

Instance Attribute Details

#prefixObject (readonly)

Returns the value of attribute prefix.



76
77
78
# File 'lib/xml/util/xmlcanonicalizer.rb', line 76

def prefix
  @prefix
end

#uriObject (readonly)

Returns the value of attribute uri.



76
77
78
# File 'lib/xml/util/xmlcanonicalizer.rb', line 76

def uri
  @uri
end