Class: CustomTextType
- Inherits:
-
Object
- Object
- CustomTextType
- Defined in:
- lib/data_objects/spec/shared/typecast/other_spec.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ CustomTextType
constructor
A new instance of CustomTextType.
- #to_s ⇒ Object
Constructor Details
#initialize(value) ⇒ CustomTextType
Returns a new instance of CustomTextType.
3 4 5 |
# File 'lib/data_objects/spec/shared/typecast/other_spec.rb', line 3 def initialize(value) @value = value end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/data_objects/spec/shared/typecast/other_spec.rb', line 7 def to_s @value.to_s end |