From: Florian Gross Date: 2004-11-27T10:22:55+09:00 Subject: Re: [RDOC] Using unit-tests as examples for a documentation benny wrote: > Florian Gross wrote: >># Removes all items from a keyed list. >># >># % aList = KeyedList["foo", "bar", "qux"] >># | aList.clear >># | aList.size # => 0 > could you please explain how that syntax would fit into Test::Unit? I have written a tool that scans such samples out of source code and turns them into test cases.