Class: XSD::NSDBase

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

Overview

The base class of all datatypes with Namespace.

Constant Summary collapse

@@types =
[]

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNSDBase

Returns a new instance of NSDBase.



100
101
# File 'lib/action_web_service/xsd/datatypes.rb', line 100

def initialize
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



90
91
92
# File 'lib/action_web_service/xsd/datatypes.rb', line 90

def type
  @type
end

Class Method Details

.inherited(klass) ⇒ Object



92
93
94
# File 'lib/action_web_service/xsd/datatypes.rb', line 92

def self.inherited(klass)
  @@types << klass
end

.typesObject



96
97
98
# File 'lib/action_web_service/xsd/datatypes.rb', line 96

def self.types
  @@types
end

Instance Method Details

#init(type) ⇒ Object



103
104
105
# File 'lib/action_web_service/xsd/datatypes.rb', line 103

def init(type)
  @type = type
end