Method: Mongoid::Extensions::Object#numeric?

Defined in:
lib/mongoid/extensions/object.rb

#numeric?false

Is the object a number?

Examples:

Is the object a number?.

object.numeric?

Returns:

  • (false)

    Always false.

Since:

  • 3.0.0



159
160
161
# File 'lib/mongoid/extensions/object.rb', line 159

def numeric?
  false
end