summaryrefslogtreecommitdiff
path: root/controllers/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/interfaces')
-rw-r--r--controllers/interfaces/cli.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/interfaces/cli.rb b/controllers/interfaces/cli.rb
index 2a93044..da027f7 100644
--- a/controllers/interfaces/cli.rb
+++ b/controllers/interfaces/cli.rb
@@ -54,9 +54,9 @@ module NanoBot
when 'repl'
bot.repl
when 'state'
- bot.state
+ pp bot.state
when 'cartridge'
- bot.cartridge
+ puts YAML.dump(bot.cartridge)
else
raise "TODO: [#{params[:command]}]"
end