sinatra-erector is an extension for sinatra to enable rendering of html files using erector templates.
# TODO: make it part of Erector
sudo gem install sbfaulkner-sinatra-erector -s http://gems.github.com
require 'rubygems' require 'sinatra' require 'sinatra/erector' get '/' do erector :template end __END__
- Author
-
Brent Faulkner <[email protected]>
-
- License
-
Copyright © 2009 unwwwired.net, released under the MIT license