Class: Shale::Mapping::Descriptor::XmlNamespace Private
- Inherits:
-
Object
- Object
- Shale::Mapping::Descriptor::XmlNamespace
- Defined in:
- lib/shale/mapping/descriptor/xml_namespace.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class representing XML namespace
Instance Attribute Summary collapse
-
#name ⇒ String
private
Return name.
-
#prefix ⇒ String
private
Return prefix.
Instance Method Summary collapse
-
#initialize(name = nil, prefix = nil) ⇒ XmlNamespace
constructor
private
Initialize instance.
Constructor Details
#initialize(name = nil, prefix = nil) ⇒ XmlNamespace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize instance
30 31 32 33 |
# File 'lib/shale/mapping/descriptor/xml_namespace.rb', line 30 def initialize(name = nil, prefix = nil) @name = name @prefix = prefix end |
Instance Attribute Details
#name ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return name
15 16 17 |
# File 'lib/shale/mapping/descriptor/xml_namespace.rb', line 15 def name @name end |
#prefix ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return prefix
22 23 24 |
# File 'lib/shale/mapping/descriptor/xml_namespace.rb', line 22 def prefix @prefix end |