Solution ruby-o-ex6