lib/fuzzy_match.rb in fuzzy_match-2.0.3 vs lib/fuzzy_match.rb in fuzzy_match-2.0.4
- old
+ new
@@ -138,10 +138,10 @@
needle = case needle
when String
Record.new needle
else
- Record.new needle, read: read
+ Record.new needle, :read => read
end
if gather_last_result
last_result.needle = needle
end