Class Range
In: lib/rr/wildcard_matchers/range.rb
Parent: Object

Methods

Public Instance methods

[Source]

   # File lib/rr/wildcard_matchers/range.rb, line 2
2:   def wildcard_match?(other)
3:     return true if self == other
4:     return false unless other.is_a?(Numeric)
5:     self.include?(other)
6:   end

[Validate]