Skip to content

Commit 18bb410

Browse files
Remove undefined method =~ from Pathname
Co-authored-by: Kevin Menard <kevin.menard@shopify.com>
1 parent 7cec103 commit 18bb410

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Compatibility:
4444
* Do not autosplat a proc that accepts a single positional argument and keywords (#3039, @andrykonchin).
4545
* Support passing anonymous * and ** parameters as method call arguments (#3039, @andrykonchin).
4646
* Handle either positional or keywords arguments by default in `Struct.new` (#3039, @rwstauner).
47-
* Remove deprecated methods `Dir.exists?`, `File.exists?`, and `Kernel#=~` (#3039, @patricklinpl).
47+
* Remove deprecated methods `Dir.exists?`, `File.exists?`, and `Kernel#=~` (#3039, @patricklinpl, @nirvdrum).
4848

4949
Performance:
5050

lib/truffle/pathname.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,10 +1084,6 @@ def unlink()
10841084
alias delete unlink
10851085
end
10861086

1087-
class Pathname
1088-
undef =~
1089-
end
1090-
10911087
module Kernel
10921088
# create a pathname object.
10931089
#

0 commit comments

Comments
 (0)