Method: DEBUGGER__::Context#script_lines

Defined in:
lib/debug.rb

#script_lines(file, line) ⇒ Object



751
752
753
754
755
756
757
758
# File 'lib/debug.rb', line 751

def script_lines(file, line)
  unless (lines = SCRIPT_LINES__[file]) and lines != true
    Tracer::Single.get_line(file, line) if File.exist?(file)
    lines = SCRIPT_LINES__[file]
    lines = nil if lines == true
  end
  lines
end