Module: Duration::Time
- Included in:
- Time
- Defined in:
- lib/garcon/core_ext/duration.rb
Overview
Time#duration has been added to convert the UNIX timestamp into a Duration. See Time#duration for an example.
Instance Method Summary collapse
-
#duration ⇒ Object
Create a Duration object from the UNIX timestamp.