module

Molinillo::UI

Conveys information about the resolution process to a user.

Instance methods

after_resolution

Called after resolution ends (either successfully or with an error). By default, prints a newline.

@return [void]

Source
before_resolution

Called before resolution begins.

@return [void]

Source
debug(depth = 0, &)

Conveys debug information to the user.

@param [Integer] depth the current depth of the resolution process. @return [void]

Source
debug?

Whether or not debug messages should be printed. By default, whether or not the MOLINILLO_DEBUG environment variable is set.

@return [Boolean]

Source
indicate_progress

Called roughly every {#progress_rate}, this method should convey progress to the user.

@return [void]

Source
output

The {IO} object that should be used to print output. STDOUT, by default.

@return [IO]

Source
progress_rate

How often progress should be conveyed to the user via {#indicate_progress}, in seconds. A third of a second, by default.

@return [Float]

Source