ruby-changes:72419
From: BurdetteLamar <ko1@a...>
Date: Tue, 5 Jul 2022 04:13:08 +0900 (JST)
Subject: [ruby-changes:72419] 6317cf7de8 (master): [ruby/date] Enhanced RDoc
https://git.ruby-lang.org/ruby.git/commit/?id=6317cf7de8 From 6317cf7de8d58f719fe232d50c0a89dbde1b5927 Mon Sep 17 00:00:00 2001 From: BurdetteLamar <BurdetteLamar@Y...> Date: Sun, 3 Jul 2022 15:24:38 -0500 Subject: [ruby/date] Enhanced RDoc https://github.com/ruby/date/commit/91c632f156 --- ext/date/date_core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 11c38a982c..99eb937184 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -2568,7 +2568,7 @@ date_s__valid_civil_p(int argc, VALUE *argv, VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L2568 * * Date.valid_date? is an alias for Date.valid_civil?. * - * Related: Date.jd, Date.civil. + * Related: Date.jd, Date.new. */ static VALUE date_s_valid_civil_p(int argc, VALUE *argv, VALUE klass) @@ -3417,6 +3417,9 @@ date_s_ordinal(int argc, VALUE *argv, VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L3417 return ret; } +/* + * Same as Date.new. + */ static VALUE date_s_civil(int argc, VALUE *argv, VALUE klass) { -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/