From: Yukihiro Matsumoto Date: 2005-11-07T22:30:09+09:00 Subject: Re: [Patch] lib/shellwords.rb Hi, In message "Re: [Patch] lib/shellwords.rb" on Mon, 7 Nov 2005 17:45:26 +0900, nobuyoshi nakada writes: |This is my version. Could you update? | def shellwords2(line) | line = String.new(line) rescue | raise(ArgumentError, "Argument must be a string") By the way, I don't think we need to check argument type here. At the time of the development of shellwords, the concept of duck typing was not that well known. matz.