Module: ParallelAncestry::ModuleSubclassInheritance

Defined in:
lib/parallel-ancestry/ParallelAncestry/ModuleSubclassInheritance.rb

Instance Method Summary collapse

Instance Method Details

#initialize(*args) ⇒ Object

define with *args so we can be inserted anywhere in inheritance chain



9
10
11
12
13
14
15
16
# File 'lib/parallel-ancestry/ParallelAncestry/ModuleSubclassInheritance.rb', line 9

def initialize( *args )
  
  # call super if defined so we can be inserted anywhere in inheritance chain
  super if defined?( super )

  @ancestors_hash = { }
  
end