lib/grape/validations/types/dry_type_coercer.rb
def call(val)
          return if val.nil?

          @coercer[val]
        rescue Dry::Types::CoercionError => _e
          InvalidValue.new
        end
# Coerces the given value to a type which was specified during
# initialization as a type argument.
#
# @param val [Object]
Coerces the given value to a type which was specified during
initialization as a type argument.
Coerces the given value to a type which was specified during initialization as a type argument .
def call(val)
          return if val.nil?
          @coercer[val]
        rescue Dry::Types::CoercionError => _e
          InvalidValue.new
        end
def call ( val ) return if val . nil? @coercer [ val ] rescue Dry :: Types :: CoercionError => _e InvalidValue . new end
Coerces the given value to a type which was specified during
initialization as a type argument.
Coerces the given value to a type which was specified during initialization as a type argument .
val
None