Sha256: 65455580f44b4ec4b7707155547f9b1f1e007b77ca36e6d84eb55b7aabe2c59d
Contents?: true
Size: 312 Bytes
Versions: 56
Compression:
Stored size: 312 Bytes
Contents
# encoding: utf-8 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
56 entries across 56 versions & 2 rubygems