method

monday?

Importance_1
monday?() public

Returns true if time represents Monday.

t = Time.local(2003, 8, 4)       #=> 2003-08-04 00:00:00 -0500
p t.monday?                      #=> true
Show source
Register or log in to add new notes.