class Parameters::Types::String
Public Class Methods
coerce(value)
click to toggle source
Coerces a value into a String
.
@param [#to_s] value
The value to coerce.
@return [::String]
The coerced String.
# File lib/parameters/types/string.rb, line 16 def self.coerce(value) value.to_s end