Should Lucky::FlashStore be an enumerable? #1313
Unanswered
matthewmcgarvey
asked this question in
Feature requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now we delegate a few enumerable methods to
Lucky::FlashStore#all
which is not accessible but there are other methods, likeEnumerable#each_with_index
, that users are not able to use. I'm wondering if we could keepLucky::FlashStore#all
encapsulated butinclude Enumerable
to provide a more robust interface to it. Would that break the encapsulation or no?lucky/src/lucky/cookies/flash_store.cr
Line 5 in 0635f76
Beta Was this translation helpful? Give feedback.
All reactions