Class: PureForm::Types::StringType

Inherits:
BaseType
  • Object
show all
Defined in:
lib/pure_form/types/string.rb

Instance Method Summary collapse

Methods inherited from BaseType

#initialize

Constructor Details

This class inherits a constructor from PureForm::Types::BaseType

Instance Method Details

#typecast(value) ⇒ Object



4
5
6
# File 'lib/pure_form/types/string.rb', line 4

def typecast(value)
  value.to_s
end