RubyGems Navigation menu

parallel_ancestry 1.0.2

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).

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.0.2 - July 11, 2012 (11.0 KB)
  2. 1.0.1 - July 07, 2012 (11.0 KB)
  3. 1.0.0 - July 07, 2012 (11.0 KB)

业主:

作者:

  • Asher

SHA 256 校验和:

55be65b68e25d3402a3f245c08bac11b3c0c4c1a6109e20479008a91b803671a

下载总量 9,951

这个版本 4,116

许可:

需要的 Ruby 版本: >= 1.9.1

链接: