def frequency_length
if @freq == :daily
@interval * 1
elsif @freq == :weekly
@interval * 7
elsif @frequency == :monthly
@interval * 29 # technically this is short, but I think it is fine for now
end
end
I'd like something more robust than * 29. Also need to find out a test that will make that fail properly before changing.
Figure out how to properly handle frequency_length.
I'd like something more robust than
* 29
. Also need to find out a test that will make that fail properly before changing.