class Moonshot::InteractiveLoggerProxy
This class pretends to be an InteractiveLogger for systems that are non-interactive.
Public Class Methods
new(logger, debug: false)
click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 38 def initialize(logger, debug: false) @debug = debug @logger = logger end
Public Instance Methods
start(str) { |step| ... }
click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 43 def start(str) @logger.info(str) yield Step.new(@logger) end
Also aliased as: start_threaded