Skip to content

Commit 172a262

Browse files
committed
Drop workaround for ruby 2.0 support
1 parent 54783ec commit 172a262

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/core_extensions/regexp/examples.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ def examples_by_method(method)
2929
end
3030
end
3131

32-
# Regexp#include is private for ruby 2.0 and below
33-
Regexp.send(:include, CoreExtensions::Regexp::Examples)
32+
Regexp.include(CoreExtensions::Regexp::Examples)

0 commit comments

Comments
 (0)