Sha256: 1a7ac13f640e27caf45fdb5f359fa3885e0dbf25baf14ed68612bceef9e475d3
Contents?: true
Size: 360 Bytes
Versions: 6
Compression:
Stored size: 360 Bytes
Contents
require 'parameters/types/object' module Parameters module Types class String < Object # # Coerces a value into a String. # # @param [#to_s] value # The value to coerce. # # @return [::String] # The coerced String. # def self.coerce(value) value.to_s end end end end
Version data entries
6 entries across 6 versions & 1 rubygems