class Range

Public Instance Methods

wildcard_match?(other) click to toggle source
# File lib/rr/core_ext/range.rb, line 2
def wildcard_match?(other)
  self == other ||
  (other.is_a?(Numeric) && include?(other))
end