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