End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Date#wednesday?
d.wednesday? → bool
ext/date/date_core.c
View on GitHub ↗
static VALUE
d_lite_wednesday_p(VALUE self)
{
get_d1(self);
return f_boolcast(m_wday(dat) == 3);
}
Returns true if the date is Wednesday.