Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Date.civil
(?::Integer year, ?::Integer month, ?::Integer mday, ?::Integer start) -> ::Date
civil(*args)
ext/date/date_core.c
View on GitHub ↗
static VALUE
date_s_civil(int argc, VALUE *argv, VALUE klass)
{
return date_initialize(argc, argv, d_lite_s_alloc_simple(klass));
}
Same as Date.new.