picky

https://github.com/floere/picky

HTML

Picky is an easy to use and fast Ruby semantic search engine that helps your users find what they are looking for.

Symbol#each_subtoken

:keys.each_subtoken    # => yields each of [:keys, :key, :ke, :k]
:keys.each_subtoken(2) # => yields each of [:keys, :key, :ke]

Source | Google | Stack overflow

Edit

git clone [email protected]:floere/picky.git

cd picky

open server/lib/picky/extensions/symbol.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Symbol-each_subtoken-for-pr


# Commit to git

git add server/lib/picky/extensions/symbol.rbgit commit -m "better docs for Symbol#each_subtoken"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Symbol-each_subtoken-for-pr

hub pull-request


# Celebrate!