Sha256: 1a80c82e3947c08aa81e3d8de1d7f2d219344d4fab33404e163155499633707f
Contents?: true
Size: 235 Bytes
Versions: 20
Compression:
Stored size: 235 Bytes
Contents
class Numeric def self.from_xommelier(value) return nil if value.blank? begin value =~ /\./ ? Float(value) : Integer(value) rescue ArgumentError => e value end end def to_xommelier self end end
Version data entries
20 entries across 20 versions & 1 rubygems