わたなべです.

WATANABE Tetsuya <tetsu / jpn.hp.com> writes:

:$ ./t_jcode.rb t_jcode.rb
:/gnu/lib/ruby/jcode.rb:45:in `+': wrong argument type false (expected String) (TypeError)

括弧のつけ忘れですね.

--- jcode.rb.orig	Wed Apr  1 15:47:19 1998
+++ jcode.rb	Wed Apr  8 13:00:04 1998
@@ -44,3 +44,3 @@
 	for c in self[-1] .. to[-1]
-	  if first+c.chr.mbchar?
+	  if (first+c.chr).mbchar?
 	    yield self[0..-2]+c.chr