Method: ScoutRailsProxy::Environment#app_server

Defined in:
lib/scout_rails_proxy/environment.rb

#app_serverObject



54
55
56
57
58
59
60
61
# File 'lib/scout_rails_proxy/environment.rb', line 54

def app_server
  @app_server ||= if thin? then :thin
                elsif passenger? then :passenger
                elsif webrick? then :webrick
                elsif unicorn? then :unicorn
                else nil
                end
end