class DivisionByZeroError inherits Exception ¶ Raised when attempting to divide an integer by 0. 1 // 0 # raises DivisionByZeroError (Division by 0) Class methods¶ .new(message = "Division by 0") ¶ View source