Method: Mechanize::Download#body

Defined in:
lib/mechanize/download.rb

#bodyObject

The body of this response as a String.

Take care, this may use lots of memory if the response body is large.

[View source]

49
50
51
# File 'lib/mechanize/download.rb', line 49

def body
  @body_io.read.tap { @body_io.rewind }
end