Linecache is a module for reading and caching lines. This may be useful for example in a debugger where the same lines are shown many times.
R. Bernstein, Mark Moseley, Gabriel Horner
MIT
gem "debugger-linecache", "~> 1.2.0"