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 29 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 34 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 38 def to_s @method end