Sha256: e51f755e5346893cb4c7f4b010c4706bf6100e0fb11545f753d3a93a070273b6
Contents?: true
Size: 485 Bytes
Versions: 18
Compression:
Stored size: 485 Bytes
Contents
module Virtus class Coercion # Coerce false values class FalseClass < Object primitive ::FalseClass # Coerce given value to String # # @example # Virtus::Coercion::FalseClass.to_string(false) # => "false" # # @param [FalseClass] value # # @return [String] # # @api public def self.to_string(value) value.to_s end end # class FalseClass end # class Coercion end # module Virtus
Version data entries
18 entries across 18 versions & 2 rubygems