Methods
Included Modules
Classes and Modules
Module Nitro::IncomingMailer
Module Nitro::OutgoingMailer
Module Nitro::Scaffold
Class Nitro::Application
Class Nitro::Args
Class Nitro::DrbServer
Class Nitro::Mail
Class Nitro::MailTemplate
Class Nitro::Mailer
Class Nitro::Part
Constants
Version = "0.50.0"
  The version of Nitro.
LibPath = File.dirname(__FILE__)
  Library path.
Attributes
[RW] mode The execution mode, typical modes include :debug, :stage, :live.
:debug
useful when debugging, extra debug information is emmited, actions, templates and shaders are reloaded, etc. The execution speed of the application is impaired.
:stage
test the application with live parameters (typically on a staging server).
 [:live]
   use the parameters for the live (production)
   server. Optimized for speed.

Tries to set the default value from the NITRO_MODE environment variable.

Public Class methods
live?()

Are we running in live mode ?

    # File lib/nitro.rb, line 79
79:     def live?
80:       @mode == :live
81:     end
start(controller = Controller)

A helper method to start a Nitro application.

    # File lib/nitro.rb, line 70
70:     def start(controller = Controller)
71:       @application = Application.new
72:       @application.dispatcher = Dispatcher.new(controller)
73:       @application.start
74:     end