summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorBurdetteLamar <BurdetteLamar@Yahoo.com>2022-07-03 08:45:29 -0500
committergit <svn-admin@ruby-lang.org>2022-07-05 04:12:44 +0900
commitc90110d146fce051a56a5f4555a02c195e07df0a (patch)
tree316f563b2e8f7389f1e29f422b5997628f4a7319 /ext/date
parent6324aaf3d003d96be6b779a9cd92efd6fad70457 (diff)
[ruby/date] Enhanced RDoc
https://github.com/ruby/date/commit/f9ecaad2ee
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_core.c2
1 files changed, 1 insertions, 1 deletions
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)
/*
* 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: