Ruby: recursive style.