app_ruby: proper push of int values to Ruby for xval function return