Support keyword arguments with Date#step
How about supporting keyword arguments with Date#step like Numeric#step?
from = Date.new(2018, 1, 1) to = Date.new(2018, 2, 1) from.step(to: to, by: 3).to_a
I expected that this is already supported.
Updated by duerst (Martin Dürst) about 3 years ago
avit (Andrew Vit) wrote:
If adding keyword options, would it make sense to add the possibility to enumerate by
>>for whole months instead of only
succdays, or is that out of scope here?
Please write a separate feature describing your proposal in more detail. You can link to this feature if you think it's related.