[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [QUIZ] metakoans.rb (#67

Christoffer Lernö

2/17/2006 6:47:00 PM

A most excellent quiz.

I am pretty eager to check out the solutions people come up with,
since I get a feel you can make it work with a vast array of
different approaches. I just took the solution that I, as a newbie,
found first. I am looking forward to see if there are some gurus who
can provide a more succinct solution than the one I came up with.

If I have a complaint about this quiz it's that I solved some of the
parts without even understanding them fully. My solution ended up
from needing a fix on koan 1, 6 and 7 only...


/Christoffer


2 Answers

Ara.T.Howard

2/17/2006 7:15:00 PM

0

Sander Land

2/17/2006 10:07:00 PM

0

Very interesting quiz :)

One small question:
# o.a? # query - true if @a
That should be strictly ==true (or ==false when not @a), right? not
something else which would evaluate to true in the assert...
I'm asking because all the asserts are like "assert{ c.a? }" ,and none
of them test "assert{ c.a? == true }"