class Pry::Byebug::Breakpoints::MethodBreakpoint
Breakpoint in a Class#method location
Public Class Methods
new(byebug_bp, method)
click to toggle source
# File lib/pry/byebug/breakpoints.rb, line 30 def initialize(byebug_bp, method) __setobj__ byebug_bp @method = method end
Public Instance Methods
source_code()
click to toggle source
# File lib/pry/byebug/breakpoints.rb, line 35 def source_code Pry::Code.from_method(Pry::Method.from_str(@method)) end
to_s()
click to toggle source
# File lib/pry/byebug/breakpoints.rb, line 39 def to_s @method end