RubyGems Navigation menu

parallel-ancestry 1.0.4

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.0.8 - June 19, 2012 (11 KB)
  2. 1.0.7 - June 18, 2012 (11 KB)
  3. 1.0.6 - June 18, 2012 (11 KB)
  4. 1.0.5 - June 16, 2012 (11 KB)
  5. 1.0.4 - June 12, 2012 (11 KB)
Zeige alle Versionen (9 total)

Runtime Abhängigkeiten (1):

Besitzer:

Autoren:

  • Asher

SHA 256-Prüfsumme:

3d52869f7bdea5d5c4305387d37ba4945c9523cf704dcc4e87c3889ea6c98db2

Downloads insgesamt 27.355

Für diese Version 2.920

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: