misc. library for ruby.