I was in need of something like this... and it's kinda of simple
so I added a http_method that returns the last http_method called..
c = Curl::Easy.perform("http://www.example.com")
Here it's what I did:
I added a few comments on the commit.
oh sorry.. I've got busy at work...
I'll take a look at it now!
by GC calls you mean calling rb_gc_mark on rbce->http_method ?
Then, it's done!