From: ts Date: 2002-12-04T02:04:18+09:00 Subject: Re: Inconsistency while playing with Symbol in IRB >>>>> "M" == Mills Thomas (app1tam) writes: M> Can I assume that the following inconsistency (See the diff between cmd 1 M> and cmd 2) has something to do with the eval-print loop in IRB and not M> something internal to Ruby (after all, cmd 3 works)? no, M> ----------------------------------------------------------------- M> irb(main):021:0> print "some string with blanks".intern M> some string with blanksnil #print call #to_s pigeon% ruby -e 'p :name.to_s' "name" pigeon% M> irb(main):022:0> p ("some string with blanks".intern) M> :some string with blanks #p call #inspect pigeon% ruby -e 'puts :name.inspect' :name pigeon% Guy Decoux