summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-06-30 17:13:37 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-06-30 17:13:37 +0900
commiteefc2d8a3c62fa7d8cf1f1674fcb33addc8962be (patch)
tree62ee86ac7f90e942b658ac183a57065b117426b9
parent3621a7debf746723281900851e009c2111fc1f56 (diff)
Fix a typo [ci skip]
-rw-r--r--integer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.rb b/integer.rb
index fe1e8a0560..a9e27345f4 100644
--- a/integer.rb
+++ b/integer.rb
@@ -80,7 +80,7 @@ class Integer
# call-seq:
# int.zero? -> true or false
#
- # Returns +true+ if +num+ has a zero value.
+ # Returns +true+ if +int+ has a zero value.
def zero?
Primitive.attr! 'inline'
Primitive.cexpr! 'int_zero_p(self)'