Module: Byebug::ReloadFunctions
- Defined in:
- lib/byebug/commands/reload.rb
Instance Method Summary collapse
Instance Method Details
#getlines(file, line) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/byebug/commands/reload.rb', line 4 def getlines(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 |