ratpack
A set of view helpers for Sinatra. Inspired by Rails’ ActionView helpers.
Installation
Install gemcutter if you haven’t already:
sudo gem install gemcutter gem tumble
Install the ratpack gem:
sudo gem install ratpack
Drop this line in your app:
gem 'ratpack' require 'sinatra/ratpack'
Usage
See auto-generated documentation at rdoc.info/projects/zeke/ratpack
Colophon
- Thanks to the Sinatra page on Writing Extensions
- The url_for method was snagged from github.com/emk/sinatra-url-for/
- Tests modified from href="http://github.com/wbzyl/sinatra-static-assets/[wbzyl/sinatra-static-assets">github.com/wbzyl/sinatra-static-assets/}[wbzyl/sinatra-static-assets]
- Gem built with href="http://github.com/technicalpickles/jeweler/[Jeweler">github.com/technicalpickles/jeweler/}[Jeweler]
Copyright
Copyright © 2009 Zeke Sikelianos. See LICENSE for details.