OO bootcamp problem in ruby.