ruby wml utilities