Returns:
3 4 5 6 7 8 9 10 11 12 13 14
# File 'lib/is_same/core_ext/numeric.rb', line 3 def matching?(object=nil, &block) case object when String object == "#{self}" when Symbol object == :"#{self}" when Regexp !!object.match("#{self}") else super end end