class Moonshot::InteractiveLoggerProxy::Step

Non-interactive version of InteractiveLogger::Step.

Public Class Methods

new(logger) click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 9
def initialize(logger)
  @logger = logger
end

Public Instance Methods

blank() click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 13
def blank
end
continue(str = nil) click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 16
def continue(str = nil)
  @logger.info(str) if str
end
failure(str = 'Failure') click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 20
def failure(str = 'Failure')
  @logger.error(str)
end
repaint() click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 24
def repaint
end
success(str = 'Success') click to toggle source
# File lib/moonshot/interactive_logger_proxy.rb, line 27
def success(str = 'Success')
  @logger.info(str)
end