Categories: None [Edit]
retroactive_module_inclusion
This gem circumvents the "dynamic module include" (aka "double inclusion")
problem, which is the fact that M.module_eval { include N } does not make
the methods of module N available to modules and classes which had included
module M beforehand, only to the ones that include it thereafter. This
behaviour hurts the least surprise principle, specially because if K is a
class, then K.class_eval { include M } *does* make all methods of M available
to all classes which had previously inherited it.
Total
Ranking: 32,753 of 188,294
Downloads: 39,361
Daily
Ranking: 58,073 of 188,277
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 2,310 | 9,053,729 | hoe |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | adrianomitre |