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

ruby-changes:72413

From: BurdetteLamar <ko1@a...>
Date: Tue, 5 Jul 2022 04:13:04 +0900 (JST)
Subject: [ruby-changes:72413] c90110d146 (master): [ruby/date] Enhanced RDoc

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

From c90110d146fce051a56a5f4555a02c195e07df0a Mon Sep 17 00:00:00 2001
From: BurdetteLamar <BurdetteLamar@Y...>
Date: Sun, 3 Jul 2022 08:45:29 -0500
Subject: [ruby/date] Enhanced RDoc

https://github.com/ruby/date/commit/f9ecaad2ee
---
 ext/date/date_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 87732f0d46..4719a0db71 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -2944,7 +2944,7 @@ date_s_julian_leap_p(VALUE klass, VALUE y) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L2944
 
 /*
  * call-seq:
- *   Date.leap?(year)            ->  bool
+ *   Date.gregorian_leap?(year) -> true or false
  *
  * Returns +true+ if the given year is a leap year
  * in the {proleptic Gregorian calendar}[https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar], +false+ otherwise:
-- 
cgit v1.2.1


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

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