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