Class: CustomTextType

Inherits:
Object
  • Object
show all
Defined in:
lib/data_objects/spec/shared/typecast/other_spec.rb

Instance Method Summary collapse

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_sObject



7
8
9
# File 'lib/data_objects/spec/shared/typecast/other_spec.rb', line 7

def to_s
  @value.to_s
end