class ForemanMaintain::Reporter

Public Instance Methods

after_execution_finishes(_execution) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 15
def after_execution_finishes(_execution); end
after_scenario_finishes(_scenario) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 17
def after_scenario_finishes(_scenario); end
ask(_message) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 29
def ask(_message); end
assumeyes?() click to toggle source
# File lib/foreman_maintain/reporter.rb, line 31
def assumeyes?
  false
end
before_execution_starts(_execution) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 13
def before_execution_starts(_execution); end
before_scenario_starts(_scenario) click to toggle source

Each public method is a hook called by executor at the specific point

# File lib/foreman_maintain/reporter.rb, line 11
def before_scenario_starts(_scenario); end
on_next_steps(_steps) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 19
def on_next_steps(_steps); end
print(_message) click to toggle source
puts(_message) click to toggle source
# File lib/foreman_maintain/reporter.rb, line 27
def puts(_message); end
with_spinner(_message) { |dummy_spinner| ... } click to toggle source
# File lib/foreman_maintain/reporter.rb, line 21
def with_spinner(_message, &_block)
  yield DummySpinner.new
end