How to code in ruby | ScratchStats