rossta / montrose

Recurring events library for Ruby. Enumerable recurrence objects and convenient chainable interface.
https://rossta.net/montrose/
MIT License
843 stars 53 forks source link

Chainable varargs #30

Closed rossta closed 8 years ago

rossta commented 8 years ago

Selected Chainable methods should accept both varargs and array-like objects:

The following would be equivalent:

Montrose.monthly.day_of_month(6, 7, 8)
Montrose.monthly.day_of_month([6, 7, 8])
Montrose.monthly.day_of_month(6..8)