instance method
any
Ruby on Rails 4.1.16
Since v4.0.13Signature
any(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File actionpack/lib/action_controller/metal/mime_responds.rb, line 477
def any(*args, &block)
if args.any?
args.each { |type| send(type, &block) }
else
custom(Mime::ALL, &block)
end
end
Defined in actionpack/lib/action_controller/metal/mime_responds.rb line 477
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::MimeResponds::Collector