module GorillaPatch::Cover
Adding include methods
Public Instance Methods
cover?(value)
click to toggle source
Calls superclass method
# File lib/gorilla_patch/cover.rb, line 7 def cover?(value) return super unless value.is_a?(Range) && RUBY_VERSION < '2.6' super(value.first) && super(value.last) end