Sha256: 473661c67c438ae21b644e1b147c5ebc59d274a83537390ef13dac895ad77616
Contents?: true
Size: 294 Bytes
Versions: 26
Compression:
Stored size: 294 Bytes
Contents
module Mongoid #:nodoc: module Extensions #:nodoc: module Boolean #:nodoc: module Conversions #:nodoc: def set(value) val = value.to_s val == "true" || val == "1" end def get(value) value end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems