class Utils::ConfigFile

def probe(&block)

Returns:
  • (Utils::Probe) - a Probe instance configured either by the block

Parameters:
  • block (Proc) -- optional block to configure the Probe instance
def probe(&block)
  if block
    @probe = Probe.new(&block)
  end
  @probe ||= Probe.new
end