Closed seancookr closed 8 years ago
https://github.com/amco/dolly/issues/87
This adds the entire Enumerable module to the Dolly Collection, all defined from the each method.
each
I have neglected to add tests because the current collection tests should be proof of the validity of this fix https://github.com/amco/dolly/blob/87-add-enumerable-to-dolly-collection/test/collection_test.rb
EDIT:
Second attempt, use the class as a delegate of Set so that the modules are included naturally.
:shipit:
https://github.com/amco/dolly/issues/87
This adds the entire Enumerable module to the Dolly Collection, all defined from the
each
method.I have neglected to add tests because the current collection tests should be proof of the validity of this fix https://github.com/amco/dolly/blob/87-add-enumerable-to-dolly-collection/test/collection_test.rb
EDIT:
Second attempt, use the class as a delegate of Set so that the modules are included naturally.