From: "Gábor Sebestyén" Date: 2009-02-09T03:22:07+09:00 Subject: Re: Analyze ruby conditional expression For instance, I want to decide whether the conditional expressions of two subsequent IFs are the same (or equivalent). I know it's not easy in most cases. Let's see a primitive example: if A then do_something1 end if B do_something2 end If A and B equals their conditional branches could be joined. I'm investigating how it would be easy evaluate A and B whether they are both true or false. I need this in my refactoring experiment. Gábor On Sun, Feb 8, 2009 at 11:43 AM, Robert Dober wrote: > On Sun, Feb 8, 2009 at 11:03 AM, Gábor Sebestyén wrote: >> Hi, >> >> I want to examine conditional expressions and I'm looking for tools to do it. >> It would be perfect to do it purely in ruby or even in jruby. >> >> Any recommendations are apprecitated. >> >> Gábor >> > I am not sure what a conditional expression is, care to give some examples? > Robert > >