Class: XSD::NSDBase
Overview
The base class of all datatypes with Namespace.
Constant Summary
- @@types =
[]
Instance Attribute Summary (collapse)
-
- (Object) type
Returns the value of attribute type.
Class Method Summary (collapse)
Instance Method Summary (collapse)
- - (Object) init(type)
-
- (NSDBase) initialize
constructor
A new instance of NSDBase.
Constructor Details
- (NSDBase) initialize
A new instance of NSDBase
101 102 |
# File 'lib/xsd/datatypes.rb', line 101 def initialize end |
Instance Attribute Details
- (Object) type
Returns the value of attribute type
91 92 93 |
# File 'lib/xsd/datatypes.rb', line 91 def type @type end |
Class Method Details
+ (Object) inherited(klass)
93 94 95 |
# File 'lib/xsd/datatypes.rb', line 93 def self.inherited(klass) @@types << klass end |
+ (Object) types
97 98 99 |
# File 'lib/xsd/datatypes.rb', line 97 def self.types @@types end |
Instance Method Details
- (Object) init(type)
104 105 106 |
# File 'lib/xsd/datatypes.rb', line 104 def init(type) @type = type end |