summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pathname.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 1bc0063bb0..86f0f54800 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -1063,6 +1063,10 @@ class Pathname # * mixed *
end
end
+class Pathname
+ undef =~
+end
+
module Kernel
# create a pathname object.
#