playground/sand.rb in pry-moves-0.1.6 vs playground/sand.rb in pry-moves-0.1.7
- old
+ new
@@ -8,40 +8,55 @@
end
class A
def initialize
+ hide_from_stack = true
puts :xuilo
end
+ def kozi
+ puts 'aa2 1'
+ puts 'aa2 2'
+ end
+
def aa
- bb
+ debug_redirect = :kozi
+ puts 'aa: step 1'
+ puts 'aa: step 2'
+ kozi
end
def bb
- #binding.pry
- k = A.new
- a = 1
- cc
+ #debug_redirect = :aa
+ puts 'bb: step 1'
+ puts 'bb: step 2'
+ aa
end
def cc
+ #debug_redirect = :bb
+ hide_from_stack = true
koko = :love
- binding.pry
- return if true
+ bb
+ (2..4).each do |i|
+ puts i
+ end
puts :two
end
alias cc_al cc
end
+require './playground.rb'
+Playground.new.basic_next
+
puts :prepare
+binding.pry
A.new.cc_al
A.new.cc_al
-A.new.cc_al
-a = A.new.aa.bb.cc
bb = 1
exit