Part of the Rack monkey patch. See file “rack_monkey_path.rb”'s documentation for details.
Methods
Class Public methods
start( options = nil )
Link
Part of the Rack monkey patch. See ::start_and_record_host_and_port.
options
Also aliased as:
racks_original_start
Alias for: start_and_record_host_and_port
start_and_record_host_and_port( options = nil )
Link
Part of the Rack monkey patch. See file “rack_monkey_path.rb”'s documentation for details.
This method is aliased in place of ::start and reads the passed-in options hash to attempt to determine the host name and port number under which a Rack based service is running. It then calls through to Rack's original ::start implementation.
options
-
Options (see original Rack::Server documentation).
Also aliased as:
start
Source: show
# File lib/hoodoo/services/middleware/rack_monkey_patch.rb, line 55 def start_and_record_host_and_port( options = nil ) Hoodoo::Services::Middleware.record_host_and_port( options ) racks_original_start( options ) end