Pathname#to_str doesn't appear to work anymore
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin10.0.0b1]
It seems as though Pathname#to_str was removed in 1.9. Was this intentional? It breaks all usage of Pathname in cases like: Dir[@pathname].