Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] "interning empty string" from sup-sync
       [not found] <20090513190821.GC18461@cabinet.hsd1.ma.comcast.net>
@ 2009-05-13 20:55 ` William Morgan
  0 siblings, 0 replies; only message in thread
From: William Morgan @ 2009-05-13 20:55 UTC (permalink / raw)


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 <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-13 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090513190821.GC18461@cabinet.hsd1.ma.comcast.net>
2009-05-13 20:55 ` [sup-talk] "interning empty string" from sup-sync William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox