From: Robert Klemme Date: 2004-02-13T01:34:58+09:00 Subject: Re: evaluate and print an expression "Piergiuliano Bossi" schrieb im Newsbeitrag news:c0g6qb$hba$1@lacerta.tiscalinet.it... > Bermejo, Rodrigo wrote: > > > > > > Piergiuliano Bossi wrote: > > > >> Bermejo, Rodrigo wrote: > >> > >> I think that the answer in ruby is: no, it's not possible. > >> But I may be wrong. > >> > >> Ciao, Giuliano > > > > > > take a look at irb/xmp - print exemple. > > > > <------------- > > require 'irb/xmp' > > > > xmp < > 1+2==3 > > END > > -------------> > > 1+2==3 ==>true > > Neat! > > But it is still working on strings, doesn't it? Yes, it does. It's basically the same as eval <