Class: XmlSchemaMapper::NamespaceResolver::Namespace
- Inherits:
-
Object
- Object
- XmlSchemaMapper::NamespaceResolver::Namespace
- Defined in:
- lib/xml_schema_mapper/namespace_resolver.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
readonly
Returns the value of attribute href.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
Instance Method Summary collapse
-
#initialize(prefix, href) ⇒ Namespace
constructor
A new instance of Namespace.
Constructor Details
#initialize(prefix, href) ⇒ Namespace
6 7 8 |
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 6 def initialize(prefix, href) @prefix, @href = prefix, href end |
Instance Attribute Details
#href ⇒ Object (readonly)
Returns the value of attribute href.
4 5 6 |
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 4 def href @href end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
4 5 6 |
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 4 def prefix @prefix end |