lib/csv_decision/matchers/numeric.rb in csv_decision-0.0.9 vs lib/csv_decision/matchers/numeric.rb in csv_decision-0.1.0

- old
+ new

@@ -33,11 +33,11 @@ numeric_cell = Matchers.to_numeric(match['value']) return false unless numeric_cell comparator = match['comparator'] - Matchers::Proc.with(type: :proc, - function: COMPARATORS[comparator].curry[numeric_cell].freeze) + Matchers::Proc.new(type: :proc, + function: COMPARATORS[comparator].curry[numeric_cell].freeze) end # @param (see Matchers::Matcher#matches?) # @return (see Matchers::Matcher#matches?) def matches?(cell) \ No newline at end of file