Class: XSD::NSDBase

Inherits:
Object show all
Defined in:
lib/xsd/datatypes.rb

Overview

The base class of all datatypes with Namespace.

Direct Known Subclasses

SOAP::SOAPArray, SOAP::SOAPEnvelope, SOAP::SOAPExternalReference, SOAP::SOAPHeaderItem, SOAP::SOAPReference, SOAP::SOAPStruct, XSDAnySimpleType

Constant Summary

@@types =
[]

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (NSDBase) initialize

Returns 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