update learning.ruby for chapter8