Module: ParallelAncestry::Inheritance::ModuleSubclassInheritance
- Defined in:
- lib/parallel_ancestry/inheritance/module_subclass_inheritance.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Object
define with *args so we can be inserted anywhere in inheritance chain.
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/inheritance/module_subclass_inheritance.rb', line 9 def initialize( *args ) # call super if defined so we can be inserted anywhere in inheritance chain super if defined?( super ) initialize_inheritance_for_module! end |