Sha256: 8e41dcff1b4bed5a24199e3bd3927435d7bcaa4db77801a4d73f531ae3556fde
Contents?: true
Size: 543 Bytes
Versions: 32
Compression:
Stored size: 543 Bytes
Contents
# encoding: utf-8 module Mongoid module Extensions module Boolean module ClassMethods # Turn the object from the ruby type we deal with to a Mongo friendly # type. # # @example Mongoize the object. # Boolean.mongoize("123.11") # # @return [ String ] The object mongoized. # # @since 3.0.0 def mongoize(object) evolve(object) end end end end end ::Boolean.__send__(:extend, Mongoid::Extensions::Boolean::ClassMethods)
Version data entries
32 entries across 32 versions & 2 rubygems