class Works::Timer

Defined in:

works/timer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(duration : Time::Span, initialize_as_done = false) #

[View source]

Instance Method Detail

def done? #

[View source]
def duration : Time::Span #

[View source]
def duration=(duration : Time::Span) #

[View source]
def pause #

[View source]
def paused? #

[View source]
def percent #

[View source]
def restart #

[View source]
def start #

[View source]
def started? #

[View source]
def stop #

[View source]
def time_expired #

[View source]