At 17:30 30.07.01 +0900, Farrel Lifson wrote: >I tried to submit but unfortunately the page is not being updated >anymore, and is being hosted by a mirror site (not by the author of the >page it seems). My script is at >http://www.cs.uct.ac.za/~flifson/things/Ruby/beer.rb . I decided to make >it all elegant and OO instead of writing a 5 line script which does the >same thing. Let me know what you think. > def beer? if @beers > 0 true else false end end should definitely be replaced by def beer? @beers > 0 end - Tammo Dipl.-Inform. Tammo Freese OFFIS Betriebliches Informations- und Wissensmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22- 215 - Fax: +49 4 41 97 22- 1 02 E-Mail: tammo.freese / offis.de - URL: http://www.offis.de