Class: CSVDecision::Matchers::Numeric
- Defined in:
- lib/csv_decision/matchers/numeric.rb
Overview
Recognise numeric comparison expressions - e.g., > 100 or != 0
Instance Method Summary collapse
-
#matches?(cell) ⇒ false, CSVDecision::Proc
Returns false if this cell is not a match; otherwise returns the
CSVDecision::Procobject indicating if this is a constant or some type of function.
Methods inherited from Matcher
Constructor Details
This class inherits a constructor from CSVDecision::Matchers::Matcher
Instance Method Details
#matches?(cell) ⇒ false, CSVDecision::Proc
Returns false if this cell is not a match; otherwise returns the CSVDecision::Proc object indicating if this is a constant or some type of function.
13 14 15 |
# File 'lib/csv_decision/matchers/numeric.rb', line 13 def matches?(cell) CSVDecision::Numeric.matches?(cell) end |