Actions
Bug #1970
closedPathname#to_str doesn't appear to work anymore
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin10.0.0b1]
Backport:
Description
=begin
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].
=end
Updated by bitsweat (Jeremy Daer) over 15 years ago
=begin
It's intentional. See r6114 http://github.com/shyouhei/ruby/commit/4ded52b623ebd1b3de12db82f8b54cc156c1fd28#diff-11
=end
Updated by bitsweat (Jeremy Daer) over 15 years ago
=begin
And, you can use Pathname#glob.
=end
Actions
Like0
Like0Like0Like0