Some simple internal ruby tools