deivid-rodriguez/pry-byebug

View on GitHub
test/examples/break1.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

#
# A toy example for testing break commands.
#
class Break1Example
  def a
    z = 2
    z + b
  end

  def b
    z = 5
    z + c!
  end

  def c!
    z = 4
    z
  end
end

binding.pry

Break1Example.new.a