From e89a1d57c49c94c16c37a8ee3a69b52a9e2b341b Mon Sep 17 00:00:00 2001 From: icebaker Date: Sun, 19 Nov 2023 13:35:54 -0300 Subject: improving tool specifications --- logic/cartridge/safety.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logic/cartridge') diff --git a/logic/cartridge/safety.rb b/logic/cartridge/safety.rb index 6414e51..39826a9 100644 --- a/logic/cartridge/safety.rb +++ b/logic/cartridge/safety.rb @@ -7,14 +7,14 @@ module NanoBot module Cartridge module Safety def self.default_answer(cartridge) - default = Fetch.cascate(cartridge, [%i[interfaces tools confirm default]]) + default = Fetch.cascate(cartridge, [%i[interfaces tools confirming default]]) return [] if default.nil? default end def self.yeses(cartridge) - yeses_values = Fetch.cascate(cartridge, [%i[interfaces tools confirm yeses]]) + yeses_values = Fetch.cascate(cartridge, [%i[interfaces tools confirming yeses]]) return [] if yeses_values.nil? yeses_values -- cgit v1.2.3