Last Friday of each month: Difference between revisions
Content deleted Content added
→{{header|Ruby}}: Replaced active_support version, date class recently got its own convenience methods. |
|||
Line 2,133: | Line 2,133: | ||
</pre> |
</pre> |
||
Or get the last day of the month and go to the previous day until it's friday. |
Or get the last day of the month and go to the previous day until it's a friday. |
||
<lang ruby>require 'date' |
<lang ruby>require 'date' |
||