Andrew Otto
unread,May 15, 2009, 9:10:19 PM5/15/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Curb - Ruby libcurl Bindings
I cannot create a subclass of Curl::Easy. I've tried several
variations of this, but every attempt fails. All of my subclass are
of type Curl::Easy, and do not contain any of the new methods I
define. Here's a really simple example:
class MyCurl < Curl::Easy
end
c = MyCurl.new # => #<Curl::Easy:0x56d768>
c.class # => Curl::Easy
c.kind_of?(MyCurl) # => false
Am I doing something wrong here, or is this a bug?
Thanks!
-Andrew