sinatra-helpers is an extension for sinatra that provides a bunch of useful helpers for sinatra applications.
sudo gem install sbfaulkner-sinatra-helpers -s http://gems.github.com
To use the helpers simply:
require 'sinatra-helpers'
If you don’t want to include all of the functionality you can require specific functionality in smaller units:
require 'sinatra-helpers/haml'
or even:
require 'sinatra-helpers/haml/partials'
- Author
-
Brent Faulkner <[email protected]>
-
- License
-
Copyright © 2009 unwwwired.net, released under the MIT license