From: "naruse (Yui NARUSE)" <naruse@...>
Date: 2012-08-28T00:39:45+09:00
Subject: [ruby-core:47329] [Backport93 - Backport #6798][Rejected] Pathname#find does not return an enumerator


Issue #6798 has been updated by naruse (Yui NARUSE).

Status changed from Open to Rejected

This is considered as a new feature, so it won't be backported.
----------------------------------------
Backport #6798: Pathname#find does not return an enumerator
https://bugs.ruby-lang.org/issues/6798#change-29067

Author: mistydemeo (Misty De Meo)
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 


Pathname#find is an interface to Find.find. However, while Find.find returns an enumerator, Pathname#find does not. This means that, for instance, it is not possible to use Pathname#find with other enumerator methods:

files = Find.find('.').select { ... } - works
files = pn.find.select { ... } - does not work


-- 
http://bugs.ruby-lang.org/