From: dblack@... Date: 2002-09-20T11:17:43+09:00 Subject: loving the look of Ruby code Hi -- I just think Ruby code looks so great. I'm so glad we get to do things like this: module Data include DBDBD def parse cmt = "" each do |s| case s when END_RE yield cmt when DATA_RE yield cmt,s cmt = "" when COMMENT_RE cmt << s end end end end I love it all, including the oft-maligned tailing end's :-) Just groovin' on Ruby -- David -- David Alan Black | Register for RubyConf 2002! home: dblack@candle.superlink.net | November 1-3 work: blackdav@shu.edu | Seattle, WA, USA Web: http://pirate.shu.edu/~blackdav | http://www.rubyconf.com