At 2010-10-20 10:26AM, "Courtland Allen" wrote:
>  [Note:  parts of this message were removed to make it a legal post.]
>  
>  Some parts of my code call for really long conditional statements of the
>  form:
>  
>  if a or b or c or d or e or f
>  
>    doSomething()
>  
>  end
>  
>  
>  Is there a more aesthetically-pleasing way to accomplish this?

Use case/end
Assuming your expressions are long, you can add newlines as required:

    case
    when 
        a, 
        b, 
        c, 
        d, 
        e, 
        f 
      doSomething
    else
      doOtherThing
    end

-- 
Glenn Jackman
    Write a wise saying and your name will live forever. -- Anonymous