descendants() Instance Public methods
direct_descendants() Instance Public methods
inherited(base) Instance Public methods
+(other) Instance Public methods Adds another Duration or a Numeric to this Duration. Numeric values are treated as seconds.
-(other) Instance Public methods Subtracts another Duration or a Numeric from this Duration. Numeric values are treated as seconds.
==(other) Instance Public methods Returns true if other is also a Duration instance with the same value, or if other == value.
ago(time = ::Time.current) Instance Public methods Calculates a new Time or Date that is as far in the past as this Duration represents. until
eql?(other) Instance Public methods
from_now(time = ::Time.current) Instance Public methods Alias for: since
since(time = ::Time.current) Instance Public methods Calculates a new Time or Date that is as far in the future as this Duration represents. from_now
Page 2180 of 11844