Sha256: 6431c74ffe8fa394e0e02759cbcc566a89ca200d8a362f01e42c516c64ebafbf

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

# = Nitro 
#
# Nitro is an efficient, yet simple engine for developing professional 
# Web Applications using the Ruby language. Nitro aims to provide a 
# robust infrastructure for scalable web applications that can be 
# distributed over a server cluster. However, Nitro can also power 
# simple web applications for deployment on intranets or even personal 
# computers. 
#
# Nitro integrates the powerful Og Object-Relational mapping 
# library.
#
# * George Moschovitis  <gm@navel.gr>
# (c) 2004-2005 Navel, all rights reserved.
# $Id: nitro.rb 266 2005-02-28 14:50:48Z gmosx $

require 'glue'
require 'glue/logger'

# Define Nitro namespace.

module Nitro

	# The name.

	Name = 'Nitro'

	# The version.

	Version = '0.11.0'

	# Library path.

	LibPath = File.dirname(__FILE__)

	# If set to true, action methods can have arguments which are 
	# automatically resolved.
	#
	# === Example 
	#
	# def list(username, oid)
	# 	...
	# end
  # 
	# http://www.mysite.com/list?username=tml;oid=2
  #
	# calls list() with the correct parameters, no need to 
	# use request['oid'], just use oid.
	#
	# WARNING: this feature requires the ParseTree library which
	# is not compatible with Windows.
	
	mattr_accessor :resolve_action_arguments, false

end

# gmosx: leave them here.

require 'nitro/context'
require 'nitro/dispatcher'
require 'nitro/render'
require 'nitro/conf'
require 'nitro/runner'
require 'nitro/component'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.11.0 lib/nitro.rb