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