method

method

rails latest stable - Class: ActionDispatch::Request
method(*args)
public

Returns the original value of the environment’s REQUEST_METHOD, even if it was overridden by middleware. See #request_method for more information.

For debugging purposes, when called with arguments this method will fall back to Object#method