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.



2
3
4
# File 'lib/data_objects/spec/shared/typecast/other_spec.rb', line 2

def initialize(value)
  @value = value
end

Instance Method Details

#to_sObject



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

def to_s
  @value.to_s
end