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

- old
+ new

@@ -79,10 +79,10 @@ def self.range_proc(match:, coerce: nil) negate, range = range(match, coerce: coerce) method = coerce ? :numeric_range : :alnum_range function = Range.send(method, negate, range).freeze - Proc.with(type: :proc, function: function) + Proc.new(type: :proc, function: function) end private_class_method :range_proc # Ruby-like range expressions or their negation - e.g., +0...10+ or +!a..z+. # \ No newline at end of file