Roelof Wobben schreef op 3-6-2014 16:28:
> Eric MSP Veith schreef op 3-6-2014 15:23:
>> On Tuesday 03 June 2014 15:10:06, Roelof Wobben <r.wobben / home.nl> 
>> wrote:
>>> Yes, it is still related.
>>> if that problem is solved I miss the answer somehow.
>> In a nutshell: For that particular testcase/exercise, you can use e.g.
>> .instance_methods to check for your required methods.
>>
>> The rest of the thread evolved around the discussion whether checking 
>> for an
>> interface in Ruby is actually good design.
>>
>> HTH.
>>
>>             --- Eric
>
> Oke,
>
> Im going to read the .instance_methods and hope I see how it works 
> when I have test(roelof.new)
>
> Roelof
>

Sorry,. I read the whole topic again but I cannot find anything about 
.instance_methods or do you mean .lookup or ,responds_to.

Then I still not clear to me what I schould do when I see 
SantaClaus(SantaClaus.new)
Could I do SantaClaus.lookup SantaClaus.new  ?

Roelof