We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54783ec commit 172a262Copy full SHA for 172a262
lib/core_extensions/regexp/examples.rb
@@ -29,5 +29,4 @@ def examples_by_method(method)
29
end
30
31
32
-# Regexp#include is private for ruby 2.0 and below
33
-Regexp.send(:include, CoreExtensions::Regexp::Examples)
+Regexp.include(CoreExtensions::Regexp::Examples)
0 commit comments