Module: Mongoid::Extensions::DateTime::Conversions

Included in:
DateTime
Defined in:
lib/mongoid/extensions/datetime/conversions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#get(value) ⇒ Object



6
7
8
# File 'lib/mongoid/extensions/datetime/conversions.rb', line 6

def get(value)
  super.try(:to_datetime)
end