ruby-lang ch6