Use #+ instead of #join to define Pathname#/
See also https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/45826/diff/ext/pathname/lib/pathname.rb Closes Homebrew/homebrew#28972. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
1fd0488ff4
commit
911206eae6
@ -297,7 +297,7 @@ class Pathname
|
||||
end
|
||||
|
||||
def / that
|
||||
join that.to_s
|
||||
self + that.to_s
|
||||
end
|
||||
|
||||
def ensure_writable
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user