Sha256: c588b74b62924b03ef0344bf5654a668f3436ff6cba81e6109e573960b9948be
Contents?: true
Size: 437 Bytes
Versions: 6
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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. # # @since 3.0.0 def mongoize(object) evolve(object) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems