Sha256: 66e5485754527dbd7467ff69934495902aaa56b0a80f112aab5b89ef5b2e2a86

Contents?: true

Size: 631 Bytes

Versions: 27

Compression:

Stored size: 631 Bytes

Contents

require 'pry-moves'

class A

  def initialize
    b = :some_code
  end

  def aa
    self
  end

  def pre_bb
    [1,2,3].each do
      bb
    end
    puts :prebb
  end

  def bb
    binding.pry
    block_func do
      #cc
      ff
      a = :some_code
    end
    d = :some_code
    e = :some_code
    self
  end

  def cc
    dd_vapid
  end

  def dd_vapid
    hide_from_stack = true
    ee
  end

  def ee
    binding.pry
  end

  def ff
    e = :ff
  end

  def block_func
    e = :some_code
    [1,1].each do
      yield
    end
    f = :other_code
  end

end

#binding.pry
puts :aaa
A.new.aa.pre_bb
c = :some_code
puts :zzz

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pry-moves-1.0.15 playground/demo.rb
pry-moves-1.0.14 playground/demo.rb
pry-moves-1.0.13 playground/demo.rb
pry-moves-1.0.12 playground/demo.rb
pry-moves-1.0.11 playground/demo.rb
pry-moves-1.0.10 playground/demo.rb
pry-moves-1.0.9 playground/demo.rb
pry-moves-1.0.8 playground/demo.rb
pry-moves-1.0.7 playground/demo.rb
pry-moves-1.0.6 playground/demo.rb
pry-moves-1.0.5 playground/demo.rb
pry-moves-1.0.4 playground/demo.rb
pry-moves-1.0.3 playground/demo.rb
pry-moves-1.0.2 playground/demo.rb
pry-moves-1.0.1 playground/demo.rb
pry-moves-1.0.0 playground/demo.rb
pry-moves-0.1.13 playground/demo.rb
pry-moves-0.1.12 playground/demo.rb
pry-moves-0.1.10 playground/demo.rb
pry-moves-0.1.9 playground/demo.rb