RestClient.get '' will return response object or String?

Snow Hellsing <snow.hellsing@...>


documents at and says that, `RestClient.get ''` will return response object.

but when I tried that, found a String object containing response body is returned.

Did I do anything wrong? Or the document is incorrect?

PS: I tried this in rails console, with `gem 'rest-client'` in Gemfile.

Best regards.