Skip to content

Commit

Permalink
Drop workaround for ruby 2.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-lord committed Jul 13, 2019
1 parent 54783ec commit 172a262
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core_extensions/regexp/examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ def examples_by_method(method)
end
end

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

0 comments on commit 172a262

Please sign in to comment.