class Range

Public Instance Methods

wildcard_match?(other) click to toggle source
# File lib/rr/wildcard_matchers/range.rb, line 2
def wildcard_match?(other)
  return true if self == other
  return false unless other.is_a?(Numeric)
  self.include?(other)
end