Add Ruby implementation of roxor.c