Class: SmartCore::Initializer::ExtensionDefiner Private
- Inherits:
-
Object
- Object
- SmartCore::Initializer::ExtensionDefiner
- Defined in:
- lib/smart_core/initializer/extension_definer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #append_extension(raw_extension) ⇒ void private
- #initialize(processed_klass) ⇒ void constructor private
Constructor Details
#initialize(processed_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.
11 12 13 14 |
# File 'lib/smart_core/initializer/extension_definer.rb', line 11 def initialize(processed_klass) @processed_klass = processed_klass @definition_lock = Mutex.new end |
Instance Method Details
#append_extension(raw_extension) ⇒ 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.
21 22 23 24 25 26 |
# File 'lib/smart_core/initializer/extension_definer.rb', line 21 def append_extension(raw_extension) thread_safe do extension = build_extension(raw_extension) extend_initialization_flow(extension) end end |