Safeguard ruby library