Class: PryByebug::Breakpoints::FileBreakpoint
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- PryByebug::Breakpoints::FileBreakpoint
- Defined in:
- lib/pry-byebug/breakpoints.rb
Instance Method Summary collapse
Instance Method Details
#source_code ⇒ Object
11 12 13 |
# File 'lib/pry-byebug/breakpoints.rb', line 11 def source_code Pry::Code.from_file(source).around(pos, 3).with_marker(pos) end |
#to_s ⇒ Object
15 16 17 |
# File 'lib/pry-byebug/breakpoints.rb', line 15 def to_s "#{source} @ #{pos}" end |