class MyClass def foo(x,y,z) if x if (y && z) then bar(0) end else bar(1) end end def bar(x) ; @w = x ; end end