summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorBurdetteLamar <BurdetteLamar@Yahoo.com>2022-07-03 15:24:38 -0500
committergit <svn-admin@ruby-lang.org>2022-07-05 04:12:48 +0900
commit6317cf7de8d58f719fe232d50c0a89dbde1b5927 (patch)
treece701b04a220f6fe1c14d8182145180320270175 /ext/date
parent7212163e7ca4a49137aa31fcb86c4c1c4cdb3846 (diff)
downloadruby-6317cf7de8d58f719fe232d50c0a89dbde1b5927.tar.gz
[ruby/date] Enhanced RDoc
https://github.com/ruby/date/commit/91c632f156
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_core.c5
1 files changed, 4 insertions, 1 deletions
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)
*
* 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)
return ret;
}
+/*
+ * Same as Date.new.
+ */
static VALUE
date_s_civil(int argc, VALUE *argv, VALUE klass)
{