Object-Oriented Pathname Class
For documentation, see class Pathname.
pathname.rb is distributed with Ruby since 1.8.0.
[Validate]