Method: ActionDispatch::Request#method_symbol
- Defined in:
- actionpack/lib/action_dispatch/http/request.rb
#method_symbol ⇒ Object
Returns a symbol form of the #method.
218 219 220 |
# File 'actionpack/lib/action_dispatch/http/request.rb', line 218 def method_symbol HTTP_METHOD_LOOKUP[method] end |