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
17 18 19 |
# File 'lib/pry/byebug/breakpoints.rb', line 17 def source_code Pry::Code.from_file(source).around(pos, 3).with_marker(pos) end |
#to_s ⇒ Object
21 22 23 |
# File 'lib/pry/byebug/breakpoints.rb', line 21 def to_s "#{source} @ #{pos}" end |