Class: Gimme::Matchers::Numeric
- Defined in:
- lib/gimme/matchers.rb
Instance Method Summary collapse
Instance Method Details
#matches?(arg) ⇒ Boolean
41 42 43 |
# File 'lib/gimme/matchers.rb', line 41 def matches?(arg) arg.kind_of?(Fixnum) || arg.kind_of?(Numeric) || arg.kind_of?(Float) end |