[SUITEDEV-2114] minimal ruby refactorings