class

Griffith::Task

Inherits Griffith::Publisher / Reference / Object

Constructors

new(description : String)

Creates a new task with the given description.

Source

Instance methods

description
Source
details(details : String)

Sets the details text.

Source
details
Source
done(status_message : Nil | String = Config.done_message)

Sets the status message. Defaults to: Griffith::Config::DEFAULT_DONE_MESSAGE.

Source
fail(status_message : Nil | String = Config.fail_message)

Sets the status message. Defaults to: Griffith::Config::DEFAULT_FAIL_MESSAGE.

Source
running(status_message : Nil | String = Config.running_message)

Sets the status message. Defaults to: Griffith::Config::DEFAULT_RUNNING_MESSAGE.

Source
status_message(status_message : String)

Sets the status message.

Source
status_message
Source