summaryrefslogtreecommitdiff
path: root/ports/dsl/nano-bots.rb
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-05-13 10:45:32 -0300
committericebaker <icebaker@proton.me>2023-05-13 10:45:32 -0300
commitd83ec5192442a9bd8d914c5a4856917b9653583c (patch)
treeca97e1618dd937594dc1da0a13584a46b87613eb /ports/dsl/nano-bots.rb
parent805e5073117bc717f46da0fa7f8ab628b4fa2a7d (diff)
improving streams
Diffstat (limited to 'ports/dsl/nano-bots.rb')
-rw-r--r--ports/dsl/nano-bots.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/dsl/nano-bots.rb b/ports/dsl/nano-bots.rb
index bce169c..b6f4462 100644
--- a/ports/dsl/nano-bots.rb
+++ b/ports/dsl/nano-bots.rb
@@ -8,7 +8,7 @@ require_relative '../../controllers/interfaces/cli'
module NanoBot
def self.new(cartridge:, state: '-')
- Controllers::Instance.new(cartridge_path: cartridge, state:)
+ Controllers::Instance.new(cartridge_path: cartridge, state:, stream: StringIO.new)
end
def self.cli