Arne is a developer, public speaker, programming coach, author and open-source contributor. With a passion for both human and programming languages, he has spent the last decade teaching and exploring the finer points of Ruby, LISP, Haskell, Mandarin Chinese, and others. When not hopping conferences or Pacific islands, he can be found at his home base in Berlin, brewing fine teas while pondering the future of open-source and the web.
Ruby’s Pathname API
Ruby’s standard library is a treasure trove of useful classes, and the
Pathnameclass is certainly one of them. Introduced in Ruby 1.9,
Pathnamerepresents a path on the file system, providing convenient access to functionality that is otherwise scattered across a handful of other classes like
Now that the life of Ruby 1.8 has officially come to an end, and 1.9 is nearing its fifth birthday, it’s high time to drop the legacy support and embrace the elegance and ease of use
Pathnamehas to offer.