From: Jeremy McAnally Date: 2007-03-23T23:19:43+09:00 Subject: Re: Question about if in Ruby You can also do this: begin one_thing second_thing do_more end if true == true -OR- begin one_thing two_thing three_thing end if begin another_thing another_better_thing end But, of course, we're just getting ridiculous now. ;) --Jeremy On 3/23/07, John Joyce wrote: > > On Mar 23, 2007, at 9:59 PM, David A. Black wrote: > > > > Just for completeness (I'm not recommending it), I'll mention that > > you can do: > > > > one_thing if begin > > another_thing > > a_third_thing > > end > > > > > > David > > Completeness is good. But that is pretty hideous stuff. > Starting to look like some cryptic C or ambitious BASIC: > logic spaghetti. > > -- http://www.jeremymcanally.com/ My free Ruby e-book: http://www.humblelittlerubybook.com/book/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.com/