method

sunday?

Importance_1
sunday?() public

Returns true if time represents Sunday.

t = Time.local(1990, 4, 1)       #=> 1990-04-01 00:00:00 -0600
t.sunday?                        #=> true
Show source
Register or log in to add new notes.