Sha256: 9f798ff4d7323ff2fdc5724ff31d496b84c4871884223e774b57e70a59462167

Contents?: true

Size: 308 Bytes

Versions: 9

Compression:

Stored size: 308 Bytes

Contents

path = File.expand_path("../lib")
$:.unshift(path) unless $:.include?(path)

require 'rubygems'
require 'sinatra'

require 'rack/codehighlighter'

require 'coderay'                # Coderay
require 'syntax/convertors/html' # Syntax
require 'uv'                     # Ultraviolet

get "/" do
  erb :index
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rack-codehighlighter-0.4.7 examples/app.rb
rack-codehighlighter-0.4.6 examples/app.rb
rack-codehighlighter-0.4.5 examples/app.rb
rack-codehighlighter-0.4.4 examples/app.rb
hyperbolist-rack-codehighlighter-0.4.4 examples/app.rb
hyperbolist-rack-codehighlighter-0.4.3 examples/app.rb
hyperbolist-rack-codehighlighter-0.4.2 examples/app.rb
rack-codehighlighter-0.4.1 examples/app.rb
rack-codehighlighter-0.4.0 examples/app.rb