Actions
Feature #9625
closedDefine `Pathname#/` to append to the path
Feature #9625:
Define `Pathname#/` to append to the path
Status:
Closed
Assignee:
-
Target version:
-
Actions
Added by alexeymuranov (Alexey Muranov) over 12 years ago. Updated over 4 years ago.
Didn't this exist once and was later taken out? I have a dim (possibly
false) memory of this.
--
Avdi Grimm
http://avdi.org
On Mar 12, 2014 5:12 AM, alexey.muranov@gmail.com wrote:
Issue #9625 has been reported by Alexey Muranov.
Feature #9625: Define
Pathname#/to append to the path
https://bugs.ruby-lang.org/issues/9625
- Author: Alexey Muranov
- Status: Open
- Priority: Normal
- Assignee:
- Category:
- Target version:
How about borrowing this definition from Homebrew project:
Looks nice to me.
I feel this proposal is acceptable.
I am not sure, however, if the type conversion .to_s is a good idea: i think it will be easier to remember if #/ will be just a synonyme of #join, and would help to catch some bugs early.
+1 This is a no-brainer.
Applied in changeset ruby-trunk:r45826.