diff options
-rw-r--r-- | ext/date/date_core.c | 2 |
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: |