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]
debug(depth = 0, &)
Conveys debug information to the user.
@param [Integer] depth the current depth of the resolution process. @return [void]
debug?
Whether or not debug messages should be printed.
By default, whether or not the MOLINILLO_DEBUG environment variable is
set.
@return [Boolean]
indicate_progress
Called roughly every {#progress_rate}, this method should convey progress to the user.
@return [void]
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]