instance method
get?
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
get?()
Is this a GET (or HEAD) request? Equivalent to request.method == :get.
Source
# File actionpack/lib/action_controller/request.rb, line 47
def get?
method == :get
end
Defined in actionpack/lib/action_controller/request.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Request