diff options
author | icebaker <icebaker@proton.me> | 2023-05-12 19:37:18 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2023-05-12 19:37:18 -0300 |
commit | 6e0576072a83c41992d61a5d93533087adb2743d (patch) | |
tree | 294fb001d7acd4015f73511995d39062a690c549 /controllers/instance.rb | |
parent | 0bb22299298bac97a4112dd93f7482b3fbbc9bc8 (diff) |
default values
Diffstat (limited to 'controllers/instance.rb')
-rw-r--r-- | controllers/instance.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controllers/instance.rb b/controllers/instance.rb index e8037e2..f3cbd74 100644 --- a/controllers/instance.rb +++ b/controllers/instance.rb @@ -6,6 +6,7 @@ require_relative '../logic/helpers/hash' require_relative '../components/provider' require_relative '../components/storage' require_relative './interfaces/repl' +require_relative './interfaces/eval' require_relative './session' module NanoBot @@ -24,7 +25,7 @@ module NanoBot end def eval(input) - @session.evaluate_and_print(input, mode: 'eval') + Interfaces::Eval.evaluate(input, @cartridge, @session) end def repl |