You can clone with
Using this commit you can use gap operation on multiple timeframes.
Thanks @artemk for the pull request!
Can you think of a nice way to do this without monkey-patching Array?
Like . . .
Timeframe.collection(timeframe1, timeframe2).gaps_left_by(timeframe3, timeframe4)
of course i can, but this is more convenient way. Also it not monkey patching Array, but adding new method to open class.
Also that will be to many 'Timeframe' words :)
anything new on this?
Haven't had time for the multiyear revamp yet, sadly. Will do ASAP.
On this pull request, I'm still uncomfortable with a mandatory core extension to Array. How about you make it optional? You can do this by just removing this line. Timeframe users who want this (fairly obscure, I think) additional functionality would just require 'timeframe/core_ext/array' in their own code.
That work for you?
Merge pull request #1 from ignar/master
Add skip_year_boundary_crossing_check option to #crop
Thanks again @artemk
Showing 1 unique commit by 1 author.
Showing 0 changed files
with 0 additions
and 0 deletions.
Show diff stats
Hide diff stats
Tip: You can add notes to lines in a file. Hover to the left of a line to make a note