Class: XDry::UnknownVarType
- Inherits:
-
VarType
- Object
- VarType
- XDry::UnknownVarType
show all
- Defined in:
- lib/xdry/parsing/parts/var_types.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from VarType
parse, #to_source_with_space
Constructor Details
103
104
105
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 103
def initialize name
@name = name
end
|
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
100
101
102
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 100
def name
@name
end
|
#type_hint ⇒ Object
Returns the value of attribute type_hint.
101
102
103
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 101
def type_hint
@type_hint
end
|
Instance Method Details
#default_property_retainment_policy ⇒ Object
113
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 113
def default_property_retainment_policy; 'retain'; end
|
#needs_space? ⇒ Boolean
111
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 111
def needs_space?; true; end
|
#to_s ⇒ Object
107
108
109
|
# File 'lib/xdry/parsing/parts/var_types.rb', line 107
def to_s
@name
end
|