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