module Mongoid::Extensions::Float
def __mongoize_time__
- Since: - 3.0.0
Returns:
-
(Time)- The float as a time.
Other tags:
- Example: Convert the float into a time. -
def __mongoize_time__ ::Time.at(self) end
def numeric?
- Since: - 3.0.0
Returns:
-
(true)- Always true.
Other tags:
- Example: Is the object a number?. -
def numeric? true end