Eating on the train and a man said enjoy

I was having a rice ball when I’m on the train. And I know it’s not recommended but I had to take that train and I was going to be on it more than an hour,and I was starving.
I didn’t want anyone get upset because of me so stand on the corner,I faced to the door,and had a rice ball.
Here’s my question. A guy said to me “enjoy your rice” when he getting off the train. Was that mean enjoy as he said? Or was that mean irony like why you eating on the train,you shouldn’t do that?
Reminder,I know what I did is not well mannered…sorry for that.

by winter_oo