Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $ ruby exception-1.rb
  2. Give me the dividend: 5
  3. Give me the divisor: 0
  4. exception-1.rb:4:in `/': divided by 0 (ZeroDivisionError)
  5. from exception-1.rb:4:in `divide'
  6. from exception-1.rb:21:in `<main>'
  7. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement