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.
Picky::Generators::Partial::Substring#initialize
The from option signifies where in the symbol it will start in generating the subtokens. Examples: With :hello, and to: -1 (default) * from: 1 # => [:hello, :hell, :hel, :he, :h] * from: 4 # => [:hello, :hell] With :hello, and to: -2 * from: 1 # => [:hell, :hel, :he, :h] * from: 4 # => [:hell]
Edit
git clone [email protected]:floere/picky.git
cd picky
open server/lib/picky/generators/partial/substring.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Picky--Generators--Partial--Substring-initialize-for-pr
# Commit to gitgit add server/lib/picky/generators/partial/substring.rbgit commit -m "better docs for Picky::Generators::Partial::Substring#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Picky--Generators--Partial--Substring-initialize-for-pr
hub pull-request
# Celebrate!