Hi all,

I'm probably profoundly missing the obvious here, but why does the
following:

00: class A
01:     def initialize(a)
02:     end
03: end
04: 
05: class B < A
06:     def initialize(a, b)
07:         super.initialize(a)
08:     end
09: end
10:
11: x = B.new(1,2)


yield: 
test.rb:7:in `initialize': wrong # of arguments(2 for 1) (ArgumentError)


If what I'm doing is incorrect, how is this usually done in Ruby?


Thanks,

Bill