Class: ActionWebService::ArrayType
- Inherits:
-
BaseType
- Object
- BaseType
- ActionWebService::ArrayType
- Defined in:
- lib/action_web_service/support/signature_types.rb
Overview
:nodoc:
Instance Attribute Summary (collapse)
-
- (Object) element_type
readonly
Returns the value of attribute element_type.
Attributes inherited from BaseType
#name, #spec, #type, #type_class
Instance Method Summary (collapse)
- - (Boolean) array?
- - (Boolean) custom?
-
- (ArrayType) initialize(spec, element_type, name)
constructor
A new instance of ArrayType.
Methods inherited from BaseType
Methods included from SignatureTypes
#canonical_signature, #canonical_signature_entry, #canonical_type, #canonical_type_class, #canonical_type_name, #class_to_type_name, #derived_from?, #symbol_name, #type_name_to_class
Constructor Details
- (ArrayType) initialize(spec, element_type, name)
A new instance of ArrayType
187 188 189 190 |
# File 'lib/action_web_service/support/signature_types.rb', line 187 def initialize(spec, element_type, name) super(spec, Array, name) @element_type = element_type end |
Instance Attribute Details
- (Object) element_type (readonly)
Returns the value of attribute element_type
185 186 187 |
# File 'lib/action_web_service/support/signature_types.rb', line 185 def element_type @element_type end |
Instance Method Details
- (Boolean) array?
196 197 198 |
# File 'lib/action_web_service/support/signature_types.rb', line 196 def array? true end |
- (Boolean) custom?
192 193 194 |
# File 'lib/action_web_service/support/signature_types.rb', line 192 def custom? true end |