From: ts Date: 2003-07-22T23:36:54+09:00 Subject: Re: Ruby 1.8.0-9 Problem >>>>> "K" == Kevin Ethridge writes: K> Shouldn't there be a warning or error message when try to concatenate a K> number in this manner? svg% ri String#<< -------------------------------------------------------------- String#<< str << aFixnum -> str str << anObject -> str ------------------------------------------------------------------------ Append---Concatenates the given object to str. If the object is a Fixnum between 0 and 255, it is converted to a character before ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ concatenation. a = "hello " a << "world" #=> "hello world" a << 33 #=> "hello world!" a #=> "hello world!" svg% Guy Decoux