123456789_123456789_123456789_123456789_123456789_

Class: Float

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Object
Defined in: (unknown)

Overview

Ruby Core class mixins

Class Method Summary

::Mongoid::Criteria::Queryable::Extensions::Numeric::ClassMethods - Extended

__numeric__

Get the object as a numeric.

evolve

Evolve the object to an integer.

::Mongoid::Extensions::Float::ClassMethods - Extended

demongoize
mongoize

Turn the object from the ruby type we deal with to a Mongo friendly type.

Instance Attribute Summary

::Mongoid::Extensions::Float - Included

#numeric?

Is the float a number?

Instance Method Summary

::Mongoid::Extensions::Float - Included

#__mongoize_time__

Converts the float into a time as the number of seconds since the epoch.