Module: Nitro
- Includes:
- Glue
- Included in:
- Test::Unit::TestCase
- Defined in:
- lib/nitro/helper/javascript/morphing.rb,
lib/nitro.rb,
lib/nitro.rb,
lib/nitro/cgi.rb,
lib/nitro/part.rb,
lib/nitro/flash.rb,
lib/nitro/helper.rb,
lib/nitro/markup.rb,
lib/nitro/render.rb,
lib/nitro/router.rb,
lib/nitro/server.rb,
lib/nitro/caching.rb,
lib/nitro/context.rb,
lib/nitro/control.rb,
lib/nitro/element.rb,
lib/nitro/service.rb,
lib/nitro/session.rb,
lib/nitro/version.rb,
lib/nitro/cgi/http.rb,
lib/nitro/compiler.rb,
lib/nitro/scaffold.rb,
lib/nitro/template.rb,
lib/nitro/cgi/utils.rb,
lib/nitro/cgi/cookie.rb,
lib/nitro/cgi/stream.rb,
lib/nitro/controller.rb,
lib/nitro/dispatcher.rb,
lib/nitro/helper/css.rb,
lib/nitro/helper/url.rb,
lib/nitro/helper/xml.rb,
lib/nitro/server/drb.rb,
lib/nitro/session/og.rb,
lib/nitro/adapter/cgi.rb,
lib/nitro/cgi/request.rb,
lib/nitro/helper/feed.rb,
lib/nitro/helper/form.rb,
lib/nitro/publishable.rb,
lib/nitro/scaffolding.rb,
lib/nitro/session/drb.rb,
lib/nitro/cgi/response.rb,
lib/nitro/control/none.rb,
lib/nitro/helper/debug.rb,
lib/nitro/helper/pager.rb,
lib/nitro/helper/table.rb,
lib/nitro/helper/xhtml.rb,
lib/nitro/session/file.rb,
lib/nitro/test/context.rb,
lib/nitro/caching/proxy.rb,
lib/nitro/cgi/send_file.rb,
lib/nitro/compiler/xslt.rb,
lib/nitro/helper/buffer.rb,
lib/nitro/helper/layout.rb,
lib/nitro/server/runner.rb,
lib/nitro/adapter/script.rb,
lib/nitro/caching/output.rb,
lib/nitro/helper/default.rb,
lib/nitro/scaffold/model.rb,
lib/nitro/service/xmlrpc.rb,
lib/nitro/session/memory.rb,
lib/nitro/adapter/console.rb,
lib/nitro/adapter/fastcgi.rb,
lib/nitro/adapter/mongrel.rb,
lib/nitro/adapter/webrick.rb,
lib/nitro/caching/actions.rb,
lib/nitro/compiler/layout.rb,
lib/nitro/compiler/markup.rb,
lib/nitro/compiler/script.rb,
lib/nitro/compiler/cleanup.rb,
lib/nitro/compiler/include.rb,
lib/nitro/compiler/squeeze.rb,
lib/nitro/control/relation.rb,
lib/nitro/helper/benchmark.rb,
lib/nitro/caching/fragments.rb,
lib/nitro/compiler/elements.rb,
lib/nitro/compiler/morphing.rb,
lib/nitro/control/attribute.rb,
lib/nitro/helper/javascript.rb,
lib/nitro/helper/navigation.rb,
lib/nitro/session/memcached.rb,
lib/nitro/scaffold/controller.rb,
lib/nitro/compiler/localization.rb,
lib/nitro/control/attribute/file.rb,
lib/nitro/control/attribute/text.rb,
lib/nitro/control/attribute/float.rb,
lib/nitro/control/attribute/fixnum.rb,
lib/nitro/control/attribute/options.rb,
lib/nitro/control/relation/has_many.rb,
lib/nitro/control/attribute/checkbox.rb,
lib/nitro/control/attribute/datetime.rb,
lib/nitro/control/attribute/password.rb,
lib/nitro/control/attribute/textarea.rb,
lib/nitro/control/relation/refers_to.rb,
lib/nitro/helper/javascript/prototype.rb,
lib/nitro/helper/javascript/scriptaculous.rb
Overview
Javascript related morphers.
Defined Under Namespace
Modules: BenchmarkHelper, BufferHelper, CSS, Caching, Cleanup, DebugHelper, DefaultHelper, ElementMixin, FeedHelper, Flashing, FormHelper, Helpers, Http, Javascript, JavascriptHelper, JavascriptUtils, LayoutHelper, Markup, MarkupCompiler, NavigationHelper, PagerHelper, Publishable, Render, Request, Response, Router, Scaffold, Scaffolding, ScriptCompiler, ScriptGenerator, TableHelper, TemplateMixin, URLHelper, XhtmlHelper, XmlHelper, XmlRpc Classes: ActionError, ActionExit, AsyncMorpher, AttributeControl, AutoCompleteMorpher, Cgi, CgiAdapter, CheckboxControl, ClientMorpher, Compiler, Context, Control, Controller, Cookie, DatetimeControl, Dispatcher, DraggableMorpher, DrbServer, EachMorpher, Element, Elements, FastCGI, FileControl, FileTemplate, FixnumControl, FloatControl, HasManyControl, IfMorpher, LayoutCompiler, Localization, MarkupKit, Mongrel, MongrelAdapter, Morpher, Morphing, NoneControl, OptionsControl, OutputBuffer, Pager, Part, PasswordControl, RefersToControl, RelationControl, RenderExit, Runner, ScriptAdapter, ScriptMorpher, SelectedIfMorpher, Server, Service, Session, SharedMorpher, Squeeze, StandardMorpher, StaticInclude, Template, TextControl, TextareaControl, TimesMorpher, Webrick, WebrickAdapter, XSLTransform, XhtmlFileHandler, XmlRpcService
Constant Summary collapse
- LibPath =
Library path.
File.dirname(__FILE__)
- Version =
The version of Nitro.
'0.40.0'
- Run =
Runner
- ConsoleAdapter =
ScriptAdapter
- ElementCompiler =
Elements
Constants included from Glue
Class Attribute Summary collapse
-
.server ⇒ Object
Returns the value of attribute server.
Class Method Summary collapse
-
.live? ⇒ Boolean
(also: production?)
A helper method.
-
.mode ⇒ Object
Deprecated, use Configuration.mode instead.
-
.run(controller = nil) ⇒ Object
(also: start)
A helper method to start a Nitro application.
Class Attribute Details
.server ⇒ Object
Returns the value of attribute server.
72 73 74 |
# File 'lib/nitro.rb', line 72 def server @server end |
Class Method Details
.live? ⇒ Boolean Also known as: production?
A helper method. Will be deprecated, use Configuration.mode instead.
84 85 86 |
# File 'lib/nitro.rb', line 84 def live? Configuration.mode == :live end |
.mode ⇒ Object
Deprecated, use Configuration.mode instead.
91 92 93 |
# File 'lib/nitro.rb', line 91 def mode Configuration.mode end |