Categories: None [Edit]

parallel_ancestry

https://rubygems.org/gems/parallel_ancestry
https://github.com/RidiculousPower/parallel_ancestry
Create and track parallel inheritance hierarchies. Hook parallel hierarchies (by including a module) to automatically update/register ancestry at include and extend, or update/register only manually. Manual registration permits definitions of ancestry across, for example, instances of the same type or instances of entirely different types. Implementation is provided by simple child/parent trees with an block to choose which parent. This permits a simple multiple inheritance model very similar to how Ruby handles modules. Conflicts for multiple inheritance are resolved by the parent most recently named for the block match. Used heavily by CascadingConfiguration gem (cascading-configuration) as well as by forthcoming Persistence and Magnets gems (persistence and magnets).

Total

Ranking: 80,784 of 183,477
Downloads: 10,276

Daily

Ranking: 63,432 of 183,470
Downloads: 0

Depended by

RankDownloadsName
39,30527,893cascading_configuration

Depends on

RankDownloadsName
15,131111,945module-cluster
64,11314,474array-unique

Owners

#GravatarHandle
1iconAsher