Refactoring class (rbenv) to defined type (rbenv::ruby) and added specs