From: Anthony Ob Date: 2010-10-01T11:35:31+09:00 Subject: Re: Syntax error Alex Stahl wrote: > What are you expecting the "x:y" statement to do? I ask because I'm not > familiar with that syntax, and ":" doesn't appear alone on any list of > operators I've seen. Otherwise I only know it as the second operator of > the ternary operator ?: > > In any case, what again are you trying to accomplish? There's probably > a better way that doesn't have a syntax error. Sorry I forgot to post this. http://rubylearning.com/satishtalim/ruby_blocks.html I was doing that above the summary in the code, above the output. -- Posted via http://www.ruby-forum.com/.