[Ruby] Fix Ruby client to prevent Rubocop's rule violations (#2100) by autopp · Pull Request #2102 · OpenAPITools/openapi-generator

PR checklist Read the contribution guidelines. Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstor...