Part of the Rack monkey patch. See file “rack_monkey_path.rb”'s documentation for details.

Methods
R
S
Class Public methods
racks_original_start( options = nil )

Part of the Rack monkey patch. Alias for the original ::start.

Alias for: start
start( options = nil )

Part of the Rack monkey patch. See ::start_and_record_host_and_port.

options

See ::start_and_record_host_and_port.

Also aliased as: racks_original_start
start_and_record_host_and_port( options = nil )

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
# 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