From: Jenda Krynicky Date: 2007-05-25T21:12:34+09:00 Subject: Re: Introducing the "it" keyword Greg Fodor wrote: >> puts "User: #{it}" if (it=opts[:user]). > > AFAIK this doesn't work because it will be assumed to > be a method call. That's the crux of the linked post > above. That's what you get for not using a sigil. You never know what's a method call and what's a local variable. Especially since you can't declare variables in Ruby. Jenda -- Posted via http://www.ruby-forum.com/.