Sha256: 4a3d6d31276ee03a5dee65435b12cd152671b53ce9d9dfd74ac81b6e12e5388b
Contents?: true
Size: 248 Bytes
Versions: 31
Compression:
Stored size: 248 Bytes
Contents
class Numeric def to_bson(*args) self end end class Float def self.cast_from_string(string) string.to_f unless string.blank? end end class Integer def self.cast_from_string(string) string.to_i unless string.blank? end end
Version data entries
31 entries across 31 versions & 2 rubygems