Module: Origin::Extensions::DateTime::ClassMethods

Defined in:
lib/origin/extensions/date_time.rb

Instance Method Summary (collapse)

Instance Method Details

- (Time) evolve(object)

Evolve the object to an date.

Examples:

Evolve dates.

Evolve string dates.

Evolve date ranges.

Parameters:

  • object (Object)

    The object to evolve.

Returns:

  • (Time)

    The evolved date time.

Since:

  • 1.0.0



40
41
42
# File 'lib/origin/extensions/date_time.rb', line 40

def evolve(object)
  object.__evolve_time__
end