practice of oop ruby.