Class: XSD::NSDBase
- Inherits:
-
Object
- Object
- XSD::NSDBase
- Defined in:
- lib/xsd/datatypes.rb
Overview
The base class of all datatypes with Namespace.
Direct Known Subclasses
Constant Summary collapse
- @@types =
[]
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
- #init(type) ⇒ Object
-
#initialize ⇒ NSDBase
constructor
A new instance of NSDBase.
Constructor Details
#initialize ⇒ NSDBase
Returns a new instance of NSDBase.
100 101 |
# File 'lib/xsd/datatypes.rb', line 100 def initialize end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
90 91 92 |
# File 'lib/xsd/datatypes.rb', line 90 def type @type end |
Class Method Details
.inherited(klass) ⇒ Object
92 93 94 |
# File 'lib/xsd/datatypes.rb', line 92 def self.inherited(klass) @@types << klass end |
.types ⇒ Object
96 97 98 |
# File 'lib/xsd/datatypes.rb', line 96 def self.types @@types end |
Instance Method Details
#init(type) ⇒ Object
103 104 105 |
# File 'lib/xsd/datatypes.rb', line 103 def init(type) @type = type end |