123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::TimeWithZone

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

Overview

External Gem class mixins

Class Method Summary

::Mongoid::Extensions::TimeWithZone::ClassMethods - Extended

demongoize

Convert the object from its mongo friendly ruby type to this type.

mongoize

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

Instance Method Summary

::Mongoid::Extensions::TimeWithZone - Included

#__mongoize_time__

Mongoizes an TimeWithZone into a time.

#_bson_to_i

This code is copied from ::Time class extension in bson-ruby gem.

#mongoize

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