Magic number detector for ruby