Registry / utility / linecache

linecache

JSON →
library1.3.1rbrubygemsunverified

LineCache is a module for reading and caching lines, useful for debuggers where the same lines are shown many times.

gem install linecache
INSTALL
IMPORT
SIG · LINECACHE
L
linecache
utilityrubyv1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LineCache
require 'linecache'

Retrieve a specific line from a file using caching.

require 'linecache' LineCache.getline('/path/to/file.rb', 10)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
linecache — gem install linecache · libregistry