123456789_123456789_123456789_123456789_123456789_

Class: Integer

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::Extensions::Integer::ClassMethods - Extended

demongoize
mongoize

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

Instance Attribute Summary

::Mongoid::Extensions::Integer - Included

#numeric?

Is the integer a number?

#unconvertable_to_bson?

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

Instance Method Summary

::Mongoid::Extensions::Integer - Included

#__mongoize_time__

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