method

any

rails latest stable - Class: ActionController::MimeResponds::Responder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

any(*args, &block)
public

No documentation available.

# File actionpack/lib/action_controller/mime_responds.rb, line 139
      def any(*args, &block)
        if args.any?
          args.each { |type| send(type, &block) }
        else
          custom(@mime_type_priority.first, &block)
        end
      end