ruby script - find unused