Author: Yehuda Katz
Status: Open, Priority: High
Category: lib
ruby -v: 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].
----------------------------------------
http://redmine.ruby-lang.org
It's intentional. See r6114 http://github.com/shyouhei/ruby/commit/4ded52b623ebd1b3de12db82f8b54cc156c1fd28#diff-11
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1970
----------------------------------------
http://redmine.ruby-lang.org
And, you can use Pathname#glob.