From: "Eregon (Benoit Daloze)" Date: 2012-08-12T00:50:52+09:00 Subject: [ruby-core:47133] [Backport93 - Backport #6798] Pathname#find does not return an enumerator Issue #6798 has been updated by Eregon (Benoit Daloze). Posting my reply again, since it seems it did not go to the list: Eregon (Benoit Daloze) wrote: > Should this be backported to 1.9.3? > > It adds a new functionality and it's hardly a bug, but one could expect it given Find.find behavior. ---------------------------------------- Backport #6798: Pathname#find does not return an enumerator https://bugs.ruby-lang.org/issues/6798#change-28787 Author: mistydemeo (Misty De Meo) Status: Open 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/