From: fedzor Date: 2008-06-17T09:40:27+09:00 Subject: Re: Question about Ruby syntax On Jun 16, 2008, at 8:34 PM, Ruby Freak wrote: > I guess if I read the code I would see the { > duh > Try this > > requests.each |item| do requests.each do |item| > if(FileTest.exist?(item)) > if FileTest.directory?(item)?output << parse_Dir(item) : output > << > parse_File(item) > else > output << parse_error(item) > end > end but still, the problem lies with the if in the ternary operator. Changing the block style won't do anything. -------------------------------------------------------| ~ Ari Some people want love Others want money Me... Well... I just want this code to compile