method
port
v2.1.0 -
Show latest stable
- Class:
ActionController::CgiRequest
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