Module: Mongoid::Extensions::Integer::Checks

Included in:
Integer
Defined in:
lib/mongoid/extensions/integer/checks.rb

Overview

This module has object checks in it.

Instance Method Summary collapse

Instance Method Details

#unconvertable_to_bson?true

Is the object not to be converted to bson on criteria creation?

Examples:

Is the object unconvertable?

object.unconvertable_to_bson?

Returns:

  • (true)

    If the object is unconvertable.

Since:

  • 2.2.1



17
18
19
# File 'lib/mongoid/extensions/integer/checks.rb', line 17

def unconvertable_to_bson?
  true
end