Module: AppEngine::Rack
- Defined in:
- lib/appengine-rack.rb
Defined Under Namespace
Classes: DeferredDispatcher
Class Method Summary collapse
-
.environment ⇒ Object
Deprecated, use ENV instead.
Class Method Details
.environment ⇒ Object
Deprecated, use ENV instead
71 72 73 74 75 76 77 78 |
# File 'lib/appengine-rack.rb', line 71 def environment if !$servlet_context.nil? and $servlet_context.server_info.include? 'Development' 'development' else 'production' end end |