Last Friday of each month: Difference between revisions

Content deleted Content added
Steenslag (talk | contribs)
→‎{{header|Ruby}}: Replaced active_support version, date class recently got its own convenience methods.
Steenslag (talk | contribs)
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'