1
0
2024-08-25 09:28:20 +02:00

11 lines
199 B
Ruby

# frozen_string_literal: true
require "date"
# Nasty monkey patching to make date objects know about the beginning of a month
class Date
def begin_of_month
Date.new(year, month, 1)
end
end