After seeing him expose himself, the woman restrained him with the help of her partner until the gardaí arrived.