[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

HTTP.get returns String??

Hal E. Fulton

7/23/2007 7:00:00 PM

This is returning a String for me -- I thought it returned
an HTTPResponse object?

This is ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux]


Thanks,
Hal

1 Answer

Hal E. Fulton

7/23/2007 7:13:00 PM

0

Hal Fulton wrote:
> This is returning a String for me -- I thought it returned
> an HTTPResponse object?
>
> This is ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux]
>

Never mind, I figured it out... or Aria told me in xchat.

The class method returns a string -- the instance method on
the object returned by #start gives the fancy object.


Hal