1 2 3
# app/models/util/cache.rb class Util::Cache
# Simple "Fuzzy Matching" for Ruby, a la TextMate/Quicksilver. Like so:# 'abc'.match('ac') => ['a', 'c']# Useful for ranking and, um, fuzzy matching.