RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Paths aren't strings

People often represent filesystem paths as strings in Ruby. But there's a better option, and it comes as part of the standard library: Pathname. Let's take a look at why it's better.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!