playground/sand.rb in pry-moves-0.1.12 vs playground/sand.rb in pry-moves-0.1.13

- old
+ new

@@ -1,50 +1,57 @@ -require 'pry' require 'pry-moves' require './tracer.rb' -require './playground.rb' -require './class_a.rb' -def debug?(something) - puts something -end -def sentence - :opa +def fi(param) + a = 2 + 1 + puts param end -class B < A +class A - def me - super - puts :ok - "rule#{1}" - "rule#{1}" + def initialize + puts :xuilo end -end + def aa + puts 'aa: step 1' + puts 'aa: step 2' + end -def aaa - bbb -end + def bb + debug_redirect = :aa + hide_from_stack = true + puts 'bb: step 1' + puts 'bb: step 2' + aa + end -def bbb - hide_from_stack = true - ccc -end + def cc + koko = :love + binding.pry + bb + (2..4).each do |i| + puts i + end + puts :two + end + alias cc_al cc -def ccc - hide_from_stack = true - binding.pry end -x = 34 -aaa +puts :prepare -x = 35 -x+=1 -x+=1 -x+=1 -x+=1 +A.new.cc_al +A.new.cc_al -B.new.me -aaa + +bb = 1 + +exit + +pp = 123 if debucher? +binding.pry if debucher? + +binding.pry + +puts :ok