ALM-213 correctly escape ruby code