Hi,
I can't figure out why the following:
require 'curl'
a = Curl.new # constructor without arguments works !
class Geoserver < Curl
def initialize(plek)
super()
end
end
curl = Geoserver.new('plek')
# end-of-program
produces:
/tmp/curltest.rb:13:in `new': wrong number of arguments (1 for 0)
(ArgumentError)
from /tmp/curltest.rb:13
'curl' is the libcurl wrapper from RAA.
Cheers,
Han Holl