Sha256: 352c7ca3c906b7b9d69aa4637a7b585cbea3bce2ce1cb9dc2a64b0db27747ca5
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
# = Nitro # # Copyright (c) 2004-2005, Navel Ltd (http://www.navel.gr) # Copyright (c) 2004-2005, George Moschovitis (http://www.gmosx.com) # # Nitro (http://www.nitrohq.com) is copyrighted free software # created and maintained by George Moschovitis (mailto:gm@navel.gr) # and released under the standard BSD Licence. For details # consult the file doc/LICENCE. require 'glue' require 'glue/logger' require 'glue/configuration' module Nitro # The version. Version = '0.24.0' # Library path. LibPath = File.dirname(__FILE__) # The path to the prototype application. setting :proto_path, :default => "#{LibPath}/../proto", :doc => 'The path to the prototype application' end #-- # gmosx: leave them here. #++ require 'nitro/context' require 'nitro/controller' require 'nitro/dispatcher/nice' require 'nitro/render' require 'nitro/server' unless $NITRO_NO_ENVIRONMENT # Setup up the proposed environment. You are free # to skip this if you dont like it. Just set # # $NITRO_NO_ENVIRONMENT = true # # before requiring nitro. Dir.chdir(File.dirname($0)) # Application code come here. $LOAD_PATH.unshift 'src' # Library code come here. $LOAD_PATH.unshift 'lib' end module Nitro # A helper method to start a Nitro application. def self.run(controller = nil) Server.run(controller) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.24.0 | lib/nitro.rb |