Class: ServiceContract::AbstractType
- Inherits:
-
Struct
- Object
- Struct
- ServiceContract::AbstractType
show all
- Defined in:
- lib/service_contract/abstract_type.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#definition ⇒ Object
Returns the value of attribute definition
2
3
4
|
# File 'lib/service_contract/abstract_type.rb', line 2
def definition
@definition
end
|
Instance Method Details
#array? ⇒ Boolean
15
16
17
|
# File 'lib/service_contract/abstract_type.rb', line 15
def array?
false
end
|
#complex? ⇒ Boolean
19
20
21
|
# File 'lib/service_contract/abstract_type.rb', line 19
def complex?
false
end
|
#fields ⇒ Object
11
12
13
|
# File 'lib/service_contract/abstract_type.rb', line 11
def fields
[]
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/service_contract/abstract_type.rb', line 3
def name
raise :not_implemented
end
|
#subtype ⇒ Object
7
8
9
|
# File 'lib/service_contract/abstract_type.rb', line 7
def subtype
nil
end
|
#valid_ruby_types ⇒ Object
23
24
25
|
# File 'lib/service_contract/abstract_type.rb', line 23
def valid_ruby_types
[Object]
end
|