[#68845] [Ruby trunk - Feature #11056] [PATCH] lib/net/*: use io/wait methods instead of IO.select — normalperson@...
Issue #11056 has been updated by Eric Wong.
3 messages
2015/04/11
[#68945] [Ruby trunk - Feature #11083] [Open] Gemify net-telnet — shibata.hiroshi@...
Issue #11083 has been reported by Hiroshi SHIBATA.
4 messages
2015/04/21
[#68951] Re: [Ruby trunk - Feature #11083] [Open] Gemify net-telnet
— Eric Wong <normalperson@...>
2015/04/21
shibata.hiroshi@gmail.com wrote:
[#69012] [Ruby trunk - Feature #11105] [Open] ES6-like hash literals — shugo@...
Issue #11105 has been reported by Shugo Maeda.
5 messages
2015/04/29
[ruby-core:68821] [Ruby trunk - Feature #11052] [PATCH] Blockless Pathname#ascend and #descend return Enumerator
From:
chastell@...
Date:
2015-04-08 22:23:59 UTC
List:
ruby-core #68821
Issue #11052 has been updated by Piotr Szotkowski.
File 0001-Blockless-Pathname-ascend-and-descend-return-Enumera.patch added
----------------------------------------
Feature #11052: [PATCH] Blockless Pathname#ascend and #descend return Enumerator
https://bugs.ruby-lang.org/issues/11052#change-52084
* Author: Piotr Szotkowski
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
It would be beneficial for blockless `Pathname#ascend` and `#descend`
to return an `Enumerator` (rather than raise a `LocalJumpError`).
Example use case of finding the Git root of the current directory:
~~~
git_dir = Pathname.new('.git')
Pathname.pwd.ascend.find { |dir| dir.entries.include?(git_dir) }
~~~
---Files--------------------------------
0001-Blockless-Pathname-ascend-and-descend-return-Enumera.patch (3.44 KB)
--
https://bugs.ruby-lang.org/