Sha256: 935af6ae7e30ed91fe3bc291d0bdf0a51fe8bc25a7f50d12efe94a71f93b79d8
Contents?: true
Size: 468 Bytes
Versions: 15
Compression:
Stored size: 468 Bytes
Contents
module Coercible class Coercer # Coerce true values class TrueClass < Object primitive ::TrueClass # Coerce given value to String # # @example # coercer[TrueClass].to_string(true) # => "true" # # @param [TrueClass] value # # @return [String] # # @api public def to_string(value) value.to_s end end # class TrueClass end # class Coercer end # module Coercible
Version data entries
15 entries across 13 versions & 5 rubygems