chastell (Piotr Szotkowski)
- Login: chastell
- Email: chastell@chastell.net
- Registered on: 04/08/2015
- Last sign in: 03/18/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/30/2023
04/24/2015
-
12:38 PM Ruby Feature #11052: [PATCH] Blockless Pathname#ascend and #descend return Enumerator
- Apologies if you're busy and I should just wait (happy to do it!), but it's my first non-doc contribution and I'm not sure: is there anything I should add to this feature request?
04/08/2015
-
10:18 PM Ruby Feature #11052 (Closed): [PATCH] Blockless Pathname#ascend and #descend return Enumerator
- 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...