ruby class dev