class Opal::Rewriters::ReturnableLogic
def on_if(node)
def on_if(node) test, = *node.children check_control_flow!(test) # The if_test metadata signifies that we don't care about the return value except if it's # truthy or falsy. And those tests will be carried out by the respective $truthy helper calls. test.meta[:if_test] = true if test super end