learn ruby class