Class: Pry::Byebug::Breakpoints::FileBreakpoint
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Pry::Byebug::Breakpoints::FileBreakpoint
- Defined in:
- lib/pry/byebug/breakpoints.rb
Overview
Breakpoint in a file:line location
Instance Method Summary collapse
Instance Method Details
#source_code ⇒ Object
15 16 17 |
# File 'lib/pry/byebug/breakpoints.rb', line 15 def source_code Pry::Code.from_file(source).around(pos, 3).with_marker(pos) end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/pry/byebug/breakpoints.rb', line 19 def to_s "#{source} @ #{pos}" end |