Granulate was not easy to use because it returned an instance of 'Granulate'. This prevented clients from iterating through the result. For that reason, I have converted 'granulate' to a class method that returns a hash.
The original algorithm to 'granulate' a time range has not been modified.
Granulate was not easy to use because it returned an instance of 'Granulate'. This prevented clients from iterating through the result. For that reason, I have converted 'granulate' to a class method that returns a hash.
The original algorithm to 'granulate' a time range has not been modified.