From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 13 May 2009 13:55:51 -0700 Subject: [sup-talk] "interning empty string" from sup-sync In-Reply-To: <20090513190821.GC18461@cabinet.hsd1.ma.comcast.net> References: <20090513190821.GC18461@cabinet.hsd1.ma.comcast.net> Message-ID: <1242248081-sup-5132@entry> Reformatted excerpts from Marc Hartstein's message of 2009-05-13: > /home/magus/src/sup/bin/sup-sync:159:in `intern': interning empty string > (ArgumentError) > from /home/magus/src/sup/bin/sup-sync:159 That's a bug. Turns out String#split doesn't exactly behave how I thought: $ irb >> " a b c ".split => ["a", "b", "c"] >> " a b c ".split(/\s+/) => ["", "a", "b", "c"] I've fixed this in next. -- William