work with ruby classes