struct

Shoo::Duration

Inherits Struct < Value < Object

Constants

PATTERN = /^(\d+)(m|h|d|w)$/

Class methods

parse?(value : String) : Duration | Nil
Source

Instance methods

elapsed_since?(time : Time) : Bool
Source
span
Source