Ruby map fix

Signed-off-by: interdpth <interdpth@gmail.com>