Registry / utility / pathname

pathname

JSON →
library0.5.0rbrubygemsunverified

Representation of the name of a file or directory on the filesystem.

gem install pathname
INSTALL
IMPORT
SIG · PATHNAME
P
pathname
utilityrubyv0.5.0
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.

Pathname
require 'pathname'

Create a Pathname object and access its components.

require 'pathname' p = Pathname.new('/usr/bin/ruby') puts p.basename # => #<Pathname:ruby> puts p.dirname # => #<Pathname:/usr/bin>
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pathname — gem install pathname · libregistry