Sha256: ecb9ad9cab40e0e7bb5777aacb547cfa4c2c8ef0237ca00e02df8fd179cafec0
Contents?: true
Size: 390 Bytes
Versions: 8
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true module Mongoid class Boolean class << self # 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. def mongoize(object) evolve(object) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems