Class: ValidateParams::Types::String

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

Class Method Summary collapse

Class Method Details

.cast(raw_value) ⇒ Object



6
7
8
# File 'lib/validate_params/types/string.rb', line 6

def self.cast(raw_value)
  raw_value.to_s
end