playground/sand.rb in pry-moves-0.1.1 vs playground/sand.rb in pry-moves-0.1.2
- old
+ new
@@ -1,11 +1,10 @@
-require 'pry'
require 'pry-moves'
#require 'pry-nav'
require './tracer.rb'
-def debug?
+def debucher?
binding.pry
true
end
class A
@@ -32,22 +31,23 @@
end
#trace_events
a = 1123
+b = binding
puts :prepare
binding.pry
-A.new.aa.bb.cc
+a = A.new.aa.bb.cc
bb = 1
exit
-pp = 123 if debug?
-binding.pry if debug?
+pp = 123 if debucher?
+binding.pry if debucher?
binding.pry
puts :ok