Sha256: 25e36c4e901459e423d07b1bcc980ffb0e892120cc3a820855089d83e4df64f7
Contents?: true
Size: 721 Bytes
Versions: 14
Compression:
Stored size: 721 Bytes
Contents
# cd playground # be ruby sand.rb require 'pry-moves' require './tracer.rb' def fi(param) a = 2 + 1 puts param end class Sand def initialize puts :xuilo end def some_logic puts 'aa: step 1' puts 'aa: step 2' end def method_with_hidden_stack debug_redirect = :aa hide_from_stack = true puts 'bb: step 1' puts 'bb: step 2' some_logic end def debugged_method koko = :love debug method_with_hidden_stack (2..4).each do |i| puts i end puts :two end alias debugged_method_alias debugged_method end puts :prepare Sand.new.method_with_hidden_stack bb = 1 exit pp = 123 if debucher? binding.pry if debucher? binding.pry puts :ok
Version data entries
14 entries across 14 versions & 1 rubygems