Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Date#monday?
() -> bool
monday? → true or false
ext/date/date_core.c
View on GitHub ↗
static VALUE
d_lite_monday_p(VALUE self)
{
get_d1(self);
return f_boolcast(m_wday(dat) == 1);
}
Returns true if self is a Monday, false otherwise.