instance method
method_symbol
Ruby on Rails 5.1.7
Since v3.0.20Signature
method_symbol()
Returns a symbol form of the #method
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 189
def method_symbol
HTTP_METHOD_LOOKUP[method]
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 189
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request