forked from pupeno/carouselapps_table_builder
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow CalendarHelper to use any object that responds to 'each'
Previously were requiring an object to be an array. This is not the ruby way! All we really care about is that it responds to the each method. Test case added to cover this. All tests passing.
- Loading branch information
1 parent
b8b1d43
commit 15bc48f
Showing
2 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters