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: 81,948 of 188,802
Downloads: 11,130

Daily

Ranking: 47,383 of 188,779
Downloads: 1

Depended by

RankDownloadsName
40,78429,533cascading_configuration

Depends on

RankDownloadsName
16,010117,147module-cluster
66,09215,347array-unique

Owners

#GravatarHandle
1iconAsher