Skip to content

Commit fb9cdf9

Browse files
committed
Added Pry debugging.
1 parent eb24c10 commit fb9cdf9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/main.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
# Get command from user
3838
cmd = ui.get_cmd
3939
case cmd
40+
when "~"
41+
binding.pry
4042
when "map", "m"
4143
map = world.get_map({:player => player})
4244
ui.draw_frame({:text => map})

lots.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
exit
3333
end
3434

35+
require 'pry'
36+
3537
# Require libraries
3638
load "lib/ui.rb"
3739
load "lib/world.rb"

0 commit comments

Comments
 (0)