Registry / utility / ptools

ptools

JSON →
library1.5.2rbrubygemsunverified

The ptools (power tools) library provides several handy methods to Ruby's core File class, such as File.which for finding executables.

gem install ptools
INSTALL
IMPORT
SIG · PTOOLS
P
ptools
utilityrubyv1.5.2
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.

File
✓ require 'ptools'

Use File.which to locate an executable in the system PATH.

require 'ptools' # Find the path to an executable path = File.which('ruby') puts path # e.g., /usr/bin/ruby
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ptools — gem install ptools · libregistry