Code tutorial of ruby