method

port

rails latest stable - Class: ActionController::CgiRequest

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

port()
public

No documentation available.

# File actionpack/lib/action_controller/cgi_process.rb, line 103
    def port
      if host_with_port_without_standard_port_handling =~ /:(\d+)$/
        $1.to_i
      else
        standard_port
      end
    end