Method: ActionDispatch::Request#ip
- Defined in:
- lib/action_dispatch/http/request.rb
#ip ⇒ Object
Returns the IP address of client as a String.
311 312 313 |
# File 'lib/action_dispatch/http/request.rb', line 311 def ip @ip ||= super end |