aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-06-11 16:11:53 -0500
committerJack Nagel2014-06-12 09:00:51 -0500
commitfaaa622820deb067fa65d1207db119be950fad93 (patch)
tree26a9e32f78371fcb6df7e308dd97e62486993d5d /Library/Homebrew/test
parent6eb7e0c27fcbc53d58e2a112ef10e902d54b6a7b (diff)
downloadbrew-faaa622820deb067fa65d1207db119be950fad93.tar.bz2
Deprecate Pathname#/ with non-string/non-pathname arguments
Ruby 2.2 will define Pathname#/ as a simple alias of Pathname#+. In practice, this means that it will raise a TypeError unless the argument responds to to_path or to_str. Currently we blindly convert the argument to a string using to_s, so deprecate this in the interest of matching the upstream behavior. In the future we can replace this with alias_method :/, :+ unless method_defined?(:/) Closes Homebrew/homebrew#30079.
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions