partial ruby w string replacement
and now (drumroll) with working ruby!