method

respond_to?

rails latest stable - Class: ActionDispatch::Response::Buffer

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

respond_to?(method, include_private = false)
public

No documentation available.

# File actionpack/lib/action_dispatch/http/response.rb, line 124
      def respond_to?(method, include_private = false)
        if BODY_METHODS.key?(method)
          @buf.respond_to?(method)
        else
          super
        end
      end