Ruby training code in zhaw