method

string_body?

rails latest stable - Class: ActionDispatch::Http::Cache::Response

Method deprecated or moved

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

string_body?()
private

No documentation available.

# File actionpack/lib/action_dispatch/http/cache.rb, line 109
        def string_body?
          !@blank && @body.respond_to?(:all?) && @body.all? { |part| part.is_a?(String) }
        end