a guest Jun 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $ ruby exception-1.rb
- Give me the dividend: 5
- Give me the divisor: 0
- exception-1.rb:4:in `/': divided by 0 (ZeroDivisionError)
- from exception-1.rb:4:in `divide'
- from exception-1.rb:21:in `<main>'
RAW Paste Data