method

friday?

Importance_1
friday?() public

Returns true if time represents Friday.

t = Time.local(1987, 12, 18)     #=> 1987-12-18 00:00:00 -0600
t.friday?                        #=> true
Show source
Register or log in to add new notes.