summaryrefslogtreecommitdiff
path: root/logic/cartridge
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-11-19 13:35:54 -0300
committericebaker <icebaker@proton.me>2023-11-19 13:35:54 -0300
commite89a1d57c49c94c16c37a8ee3a69b52a9e2b341b (patch)
treee82a7579534003f02de32d058f4a60d1d076240c /logic/cartridge
parentc470d63b169058d81f44569a5f1c4c1fb222279f (diff)
improving tool specifications
Diffstat (limited to 'logic/cartridge')
-rw-r--r--logic/cartridge/safety.rb4
1 files changed, 2 insertions, 2 deletions
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