ruby class at topbrainz