Pathname2 1.7.3 script

SPONSORED LINKS

    Specification

  • Version: 1.7.3
  • File size: 0 KB
  • File name: pathname2-1.7.3.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Company: Daniel Berger (View more)

Pathname2 1.7.3 script description:




Publisher review:

The differences between Pathname in the standard library and this version:

It is a subclass of String (and thus, mixes in Enumerable).
It has sensical to_a and root instance methods.
It works on Windows and Unix.  The current implementation does not work with Windows path names very well, and not at all when it comes to UNC paths.
The Pathname#cleanpath method works differently - it always returns a canonical pathname.  In addition, there is no special consideration for symlinks (yet), though I'm not sure it warrants it.
The Pathname#+ method auto cleans.
It uses a facade for all File and Dir methods, as well as most FileUtils methods.
Pathname#clean works slightly differently.  In the stdlib version, Pathname#clean("../a") returns "../a".  In this version, it returns "a". This affects other methods, such as Pathname#relative_path_from.
Accepts file urls and converts them to paths automatically, e.g. file:///foo bar/baz becomes '/foo/bar/baz'.
Adds a Kernel level +pn+ method as a shortcut.
Allows you to add paths together with the '/' operator.

Pathname2 1.7.3 is a script for Development Tools scripts design by Daniel Berger. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5