A set of view helpers for Sinatra. Inspired by Rails’ ActionView helpers.
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'
See auto-generated documentation at rdoc.info/projects/zeke/ratpack
-
Thanks to the Sinatra page on Writing Extensions
-
The url_for method was snagged from github.com/emk/sinatra-url-for/
-
Tests modified from github.com/wbzyl/sinatra-static-assets/
-
Gem built with github.com/technicalpickles/jeweler/
Copyright © 2009 Zeke Sikelianos. See LICENSE for details.