Computer Science Canada

[TYS] Parameterized Inheritance

Author:  wtd [ Fri Oct 12, 2007 1:15 pm ]
Post subject:  [TYS] Parameterized Inheritance

code:
>> ?
=> ?
>> class Foo < S :foo, :bar; def to_s; "#{foo} #{bar}" end end
=> nil
>> Foo.new("hello", "world").to_s
=> "hello world"


Fill in the question marks.

You may use at most 24 characters, including any necessary semicolons to keep it to one line.

Author:  FredGayle55 [ Sat Oct 26, 2013 5:21 am ]
Post subject:  Re: [TYS] Parameterized Inheritance

Your idea is outstanding the issue is one thing that not enough persons are speaking intelligently about. I am very completely satisfied that.


: