From: James Edward Gray II Date: 2007-04-23T21:05:48+09:00 Subject: Re: [QUIZ] Morse Code (#121) On Apr 23, 2007, at 12:20 AM, Bob Lisbonne wrote: > I'd welcome any suggestion for making it more ruby-like. Two simple things I noticed: dotsanddashes.size == 0 # => dotsanddashes.empty? try.gsub(/\./,'\.') # => Regexp.escape(try) Just some thoughts. Welcome to Ruby Quiz. James Edward Gray II