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: 82,270 of 190,871
Downloads: 11,222

Daily

Ranking: 74,705 of 190,817
Downloads: 2

Depended by

RankDownloadsName
41,09429,722cascading_configuration

Depends on

RankDownloadsName
16,164117,954module-cluster
66,45015,449array-unique

Owners

#GravatarHandle
1iconAsher