Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Glorify test
$: << File.expand_path(".") + '/lib'
require 'sinatra'
require 'glorify'
get "/" do
@example ="", "rb").read
erb :index
<html><head><link href="/pygments.css" media="screen" rel="stylesheet" type="text/css"><html><head></head><body><%= yield %></body></html>
<%= glorify @example %>

smgt commented May 12, 2012

Put this file the glorify gem dir and run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment