Class: SmartCore::Initializer::Extension Private
- Inherits:
-
Object
- Object
- SmartCore::Initializer::Extension
- Defined in:
- lib/smart_core/initializer/extension.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
- #call(instance) ⇒ void private
- #dup ⇒ void private
- #initialize(additional_initialization_flow) ⇒ void constructor private
Constructor Details
#initialize(additional_initialization_flow) ⇒ 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 |
# File 'lib/smart_core/initializer/extension.rb', line 11 def initialize(additional_initialization_flow) @additional_initialization_flow = additional_initialization_flow end |
Instance Method Details
#call(instance) ⇒ 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.
20 21 22 |
# File 'lib/smart_core/initializer/extension.rb', line 20 def call(instance) additional_initialization_flow.call(instance) end |
#dup ⇒ 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.
28 29 30 |
# File 'lib/smart_core/initializer/extension.rb', line 28 def dup self.class.new(additional_initialization_flow) end |