The incident happened in north Dublin on Thursday and the victim was rushed to the nearby Beaumont Hospital for treatment.