SONAR-5546 fix typo in ruby code