It is rude to ruin a class for others.
Dom was taking a history class when he was in college.
Dom wanted to get out of class for the day.
Dom emailed the professor and said that he wasn't feeling well enough to attend class.
Dom pulled the fire alarm in the building that the class was taught in.
All of the rest of the students were able to learn the material in class.
None of the students in the class learned anything in history class that day.