Switch to .ruby-version
Change case switching on class strings to is_a? in main class