Closed benbalter closed 7 years ago
Fixes https://github.com/jekyll/jekyll-redirect-from/issues/135.
Prior to Ruby 2.2.0, the include class method is private. Starting with Ruby 2.2.0 it's public.
include
This PR ensures our method of "cleaner" monkey patching is compatible with Ruby >= 2.0.0 and < 2.2.0.
/cc @michaelcurry
@jekyllbot: merge +minor.
Fixes https://github.com/jekyll/jekyll-redirect-from/issues/135.
Prior to Ruby 2.2.0, the
include
class method is private. Starting with Ruby 2.2.0 it's public.This PR ensures our method of "cleaner" monkey patching is compatible with Ruby >= 2.0.0 and < 2.2.0.
/cc @michaelcurry