class method
self.===
Ruby on Rails 8.0.4
Since v8.0.4Available in: v8.0.4 v8.1.2
Signature
self.===(other)
No documentation comment.
Parameters
-
otherreq
Source
# File actionpack/lib/action_dispatch/http/param_error.rb, line 9
def self.===(other)
super || (
defined?(Rack::Utils::ParameterTypeError) && Rack::Utils::ParameterTypeError === other ||
defined?(Rack::Utils::InvalidParameterError) && Rack::Utils::InvalidParameterError === other ||
defined?(Rack::QueryParser::ParamsTooDeepError) && Rack::QueryParser::ParamsTooDeepError === other
)
end
Defined in actionpack/lib/action_dispatch/http/param_error.rb line 9
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ParamError