Method: SmartCore::Initializer::TypeSystem::Interop::Aliasing::ClassInheritance#inherited

Defined in:
lib/smart_core/initializer/type_system/interop/aliasing.rb

#inherited(child_klass) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

Since:

  • 0.1.0



28
29
30
31
# File 'lib/smart_core/initializer/type_system/interop/aliasing.rb', line 28

def inherited(child_klass)
  child_klass.instance_variable_set(:@__type_aliases__, AliasList.new(child_klass))
  super
end