Module: SmartCore::Injection::Injector::InjectionSettings::IncompatabilityControl Private

Defined in:
lib/smart_core/injection/injector/injection_settings/incompatability_control.rb

Overview

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

Since:

  • 0.1.0

Class Method Summary collapse

Class Method Details

.prevent_incompatabilities!(injectable, imports, memoize, access, bind, from) ⇒ 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:

  • injectable (Class, Module)
  • imports (Hash<String|Symbol,String>)
  • memoize (Boolean)
  • access (Symbol)
  • bind (Symbol)
  • from (NilClass, SmartCore::Container)

Since:

  • 0.1.0



17
18
19
20
21
22
23
24
# File 'lib/smart_core/injection/injector/injection_settings/incompatability_control.rb', line 17

def prevent_incompatabilities!(injectable, imports, memoize, access, bind, from)
  prevent_injectable_incompatabilities!(injectable)
  prevent_imports_incompatabilites!(imports)
  prevent_memoize_incompatabilites(memoize)
  prevent_access_incompatabilites(access)
  prevent_bind_incompatabilites(bind)
  prevent_from_incompatabilites(from)
end