Method: DEBUGGER__::Context#line_at
- Defined in:
- lib/debug.rb
#line_at(file, line) ⇒ Object
777 778 779 780 781 782 783 |
# File 'lib/debug.rb', line 777 def line_at(file, line) lines = script_lines(file, line) if lines and line = lines[line-1] return line end return "\n" end |