From: Neville Franks Date: 2007-01-29T06:06:33+09:00 Subject: Re: Ruby << is ambiguos Stefano Crocco wrote: > Alle 21:50, domenica 28 gennaio 2007, Neville Franks ha scritto: >> >> Ared = "mary" >> angy = "bill" >> angy <> print <> >> Thanks. >> >> --- >> Neville Franks, http://www.getsoft.com http://www.surfulater.com > > Some editors (kate and vim, for example) assume the presence of a > whitespace > after the << in the operator case: > > a=[] > s="abc" > #this gets highlighted as a HERE Doc > a< > #this gets highlighted as an operator > a<< s > > Stefano Stefano, Thanks, but that isn't how the Ruby interpreter works, so this is really a hack that may or may not work with real code. I can just do the same thing, but if possible I'd like a 'correct' solution. I've been looking at all of the Ruby Editors on Windows and am surprised at how poorly they handle Ruby syntax. I would never release a product like these. -- Posted via http://www.ruby-forum.com/.