method
server_port
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Http::URL
server_port()public
No documentation available.
# File actionpack/lib/action_dispatch/http/url.rb, line 350
def server_port
get_header('SERVER_PORT').to_i
end