[前][次][番号順一覧][スレッド一覧]

ruby-changes:62084

From: Kazuhiro <ko1@a...>
Date: Tue, 30 Jun 2020 17:14:17 +0900 (JST)
Subject: [ruby-changes:62084] eefc2d8a3c (master): Fix a typo [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=eefc2d8a3c

From eefc2d8a3c62fa7d8cf1f1674fcb33addc8962be Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 30 Jun 2020 17:13:37 +0900
Subject: Fix a typo [ci skip]


diff --git a/integer.rb b/integer.rb
index fe1e8a0..a9e2734 100644
--- a/integer.rb
+++ b/integer.rb
@@ -80,7 +80,7 @@ class Integer https://github.com/ruby/ruby/blob/trunk/integer.rb#L80
   # 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)'
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]