Skip to content

danho/fuzzy_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fuzzy_ruby

http://rubygems.org/gems/fuzzy_ruby
Fuzzy finder for Ruby

Input

  1. Array of strings to be searched
  2. String to perform the fuzzy search with

Output

  1. Array of strings that match the fuzzy search in order of closest match

Usage

require 'fuzzy_ruby'


=> true
> Fuzzy.find(["danny", "dan", "bill"], "dan")
=> ["dan", "danny"]

Releases

No releases published

Packages

No packages published

Languages