def divisible_pipeline_dest(number): Pipeline.send("final", number * 7)
def nondivisible_pipeline_destination(number): Pipeline.send("final", number * 3)
def first_pipeline_destination(number): if number % 3 == 0: Pipeline.send("divisible", number) else: Pipeline.send("nondivisible", number)