Class: SmartCore::Container::DefinitionDSL::Commands::Base Private
- Inherits:
-
Object
- Object
- SmartCore::Container::DefinitionDSL::Commands::Base
- Defined in:
- lib/smart_core/container/definition_dsl/commands/base.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.
Direct Known Subclasses
Definition::Compose, Definition::Namespace, Definition::Register, Instantiation::Compose, Instantiation::FreezeState
Class Method Summary collapse
- .inheritable=(identifier) ⇒ Boolean private
- .inheritable? ⇒ Boolean private
- .inherited(child_klass) ⇒ Boolean private
Instance Method Summary collapse
- #call(registry) ⇒ void private
- #inheritable? ⇒ Boolean private
Class Method Details
.inheritable=(identifier) ⇒ Boolean
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.
12 13 14 |
# File 'lib/smart_core/container/definition_dsl/commands/base.rb', line 12 def inheritable=(identifier) @inheritable = identifier end |
.inheritable? ⇒ Boolean
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.
20 21 22 |
# File 'lib/smart_core/container/definition_dsl/commands/base.rb', line 20 def inheritable? @inheritable end |
.inherited(child_klass) ⇒ Boolean
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.
28 29 30 31 |
# File 'lib/smart_core/container/definition_dsl/commands/base.rb', line 28 def inherited(child_klass) child_klass.instance_variable_set(:@inheritable, true) super end |
Instance Method Details
#call(registry) ⇒ 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.
39 |
# File 'lib/smart_core/container/definition_dsl/commands/base.rb', line 39 def call(registry); end |
#inheritable? ⇒ Boolean
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.
45 46 47 |
# File 'lib/smart_core/container/definition_dsl/commands/base.rb', line 45 def inheritable? self.class.inheritable? end |