Class: RR::WildcardMatchers::Numeric

Inherits:
IsA
  • Object
show all
Defined in:
lib/rr/wildcard_matchers/numeric.rb

Instance Attribute Summary

Attributes inherited from IsA

#klass

Instance Method Summary collapse

Methods inherited from IsA

#==, #wildcard_match?

Constructor Details

#initializeNumeric

Returns a new instance of Numeric.



4
5
6
# File 'lib/rr/wildcard_matchers/numeric.rb', line 4

def initialize
  @klass = ::Numeric
end

Instance Method Details

#inspectObject



8
9
10
# File 'lib/rr/wildcard_matchers/numeric.rb', line 8

def inspect
  'numeric'
end