Sha256: 743aa0bb3d47be852f215607682d12bf33bf2e6988d78e433163cfb0b60f3f01

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

#!/usr/local/bin/ruby

# = Simple Example 
#
# A simple Web Application to demonstrate the Engine. 
#
# code: 
# * George Moschovitis  <gm@navel.gr>
#
# (c) 2004 Navel, all rights reserved.
# $Id: app.rb 112 2004-10-27 10:59:55Z gmosx $

$:.unshift "simple/lib"
$:.unshift "../lib"

# Set this to false to optimize for speed.
$DBG = true 
$DBG ? (require "simple/conf/debug-config") : (require "simple/conf/live-config")

require "n/server/webrick"

module App

class Server < N::Webrick
	include App::Config	
end

end # module

$app = App::Server.new.exec()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.3.0 examples/simple/app.rb