Last Friday of each month: Difference between revisions

m
(→‎{{header|Ruby}}: Replaced active_support version, date class recently got its own convenience methods.)
Line 2,133:
</pre>
 
Or get the last day of the month and go to the previous day until it's a friday.
<lang ruby>require 'date'
 
1,149

edits