From: matz@... (Yukihiro Matsumoto) Date: 2004-03-14T20:21:31+09:00 Subject: Re: little glitch in String#split error reporting Hi, In message "little glitch in String#split error reporting" on 04/03/14, "David A. Black" writes: |Note that if you try to split on a Symbol, you get a slightly odd |error message: | | $ ./ruby -ve '"".split(:x)' | ruby 1.9.0 (2004-03-13) [i686-linux] | -e:1:in `split': wrong argument type x (expected Regexp) (TypeError) | from -e:1 | |This fixes it, by brute force: Thank you! matz.