Define `Pathname#/` to append to the path
How about borrowing this definition from Homebrew project:
class Pathname def / that join that.to_s end end
Looks nice to me.
- ext/pathname/lib/pathname.rb (Pathname#/): Aliased to Pathname#+. Suggested by Alexey Muranov. [Feature #9625]
#1 Updated by Avdi Grimm 12 months ago
Didn't this exist once and was later taken out? I have a dim (possibly
false) memory of this.