Permalink
Browse files

Cannot divide by 0!

  • Loading branch information...
1 parent 4e98267 commit 20511623f741ef3712e6d135aef760c144345998 @knugie knugie committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -851,7 +851,7 @@ in *Ruby* now, not in *Python*.
end
# good
- if n.zero?
+ if d.zero?
puts "Cannot divide by 0!"
else
n / d

0 comments on commit 2051162

Please sign in to comment.