https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-11-05T17:56:53ZRuby Issue Tracking SystemRuby master - Feature #5572: ブロックなしPathname#find呼び出しでEnumeratorを返すhttps://redmine.ruby-lang.org/issues/5572?journal_id=218972011-11-05T17:56:53Zktsj (Kazuki Tsujimoto)kazuki@callcc.net
<ul><li><strong>Category</strong> changed from <i>lib</i> to <i>ext</i></li></ul> Ruby master - Feature #5572: ブロックなしPathname#find呼び出しでEnumeratorを返すhttps://redmine.ruby-lang.org/issues/5572?journal_id=222972011-11-19T21:52:38Zakr (Akira Tanaka)akr@fsij.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r33792.<br>
Kazuki, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>
<p>lib/pathname.rb (Pathname#find): return an enumerator if<br>
no block is given.</p>
</li>
<li>
<p>test/pathname/test_pathname.rb: add tests for above.</p>
</li>
</ul>
<p><a href="/issues/5572">[ruby-dev:44797]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: ブロックなしPathname#find呼び出しでEnumeratorを返す (Closed)" href="https://redmine.ruby-lang.org/issues/5572">#5572</a>]</p>