Module: Rackdapter
- Defined in:
- lib/rackdapter/proxy.rb,
lib/rackdapter/config.rb,
lib/rackdapter/master.rb,
lib/rackdapter/spawner.rb
Defined Under Namespace
Modules: Configuration, MerbBackend, ProxyBackend, RailsBackend Classes: Application, ApplicationInstance, Config, InboundProxyConnection, Master, OutboundProxyConnection, Proxy, ProxyBalancer
Class Attribute Summary collapse
-
.config_path ⇒ Object
Returns the value of attribute config_path.
Class Method Summary collapse
Class Attribute Details
.config_path ⇒ Object
Returns the value of attribute config_path.
6 7 8 |
# File 'lib/rackdapter/config.rb', line 6 def config_path @config_path end |
Class Method Details
.app_options(app, port, options) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/rackdapter/spawner.rb', line 67 def self.(app, port, ) log = app.log.gsub(/<port>/, port.to_s).gsub(/<environment>/, app.environment) opts = [] .each do |k,v| unless v.blank? opts << "-#{k.to_s}" opts << v.to_s end end opts end |