Silas Davis wrote:
> I assume currently the syntax:
> 
> bool ? <action if true> : <action if false>
> 
> Can be written:
> 
> bool? <action if true> : <action if false>

You assume wrongly.

>> a = 1
=> 1
>> a? "foo" : "bar"
SyntaxError: compile error
(irb):2: syntax error, unexpected ':', expecting $end
a? "foo" : "bar"
          ^
  from (irb):2
  from :0
>> a ? "foo" : "bar"
=> "foo"
>> RUBY_DESCRIPTION
=> "ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]"
-- 
Posted via http://www.ruby-forum.com/.