class ProcessSettings::Testing::Monitor

A special instance of the monitor specifically used for testing that allows the providing of a settings array from memory to initialize the ProcessSetting Monitor for testing

@param Array settings_array @param Logger logger

Public Class Methods

new(settings_array, logger:) click to toggle source
Calls superclass method ProcessSettings::AbstractMonitor::new
# File lib/process_settings/testing/monitor.rb, line 17
def initialize(settings_array, logger:)
  super(logger: logger)
  @statically_targeted_settings = settings_array
end

Private Instance Methods

load_statically_targetted_settings(force_retarget: false) click to toggle source
# File lib/process_settings/testing/monitor.rb, line 24
def load_statically_targetted_settings(force_retarget: false)
  @statically_targeted_settings
end