Class: XML::Util::NamespaceNode
- Inherits:
-
Object
- Object
- XML::Util::NamespaceNode
- Defined in:
- lib/xml/util/xmlcanonicalizer.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(prefix, uri) ⇒ NamespaceNode
constructor
A new instance of NamespaceNode.
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
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
76 77 78 |
# File 'lib/xml/util/xmlcanonicalizer.rb', line 76 def prefix @prefix end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
76 77 78 |
# File 'lib/xml/util/xmlcanonicalizer.rb', line 76 def uri @uri end |