Yes definitely ruined. Please finish fermenting, bottle with priming sugar then ship it to me for disposal!
In all seriousness no it is not ruined please search blowoff tube and use it unless you want to learn a messy lesson next time. You got lucky!
As above poster said clean and sanitize airlock and re-install with new sanitizer if blowoff has finished.