instance method
server_port
Ruby on Rails 4.0.13
Since v3.0.20Signature
server_port()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/url.rb, line 222
def server_port
@env['SERVER_PORT'].to_i
end
Defined in actionpack/lib/action_dispatch/http/url.rb line 222
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::URL