Class: Qonfig::Commands::Base Private
- Inherits:
-
Object
- Object
- Qonfig::Commands::Base
- Defined in:
- lib/qonfig/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::AddNestedOption, Definition::AddOption, Definition::Compose, Definition::ExposeJSON, Definition::ExposeSelf, Definition::ExposeTOML, Definition::ExposeVault, Definition::ExposeYAML, Definition::LoadFromENV, Definition::LoadFromJSON, Definition::LoadFromSelf, Definition::LoadFromTOML, Definition::LoadFromVault, Definition::LoadFromYAML, Definition::ReDefineOption, Instantiation::FreezeState, Instantiation::ValuesFile
Class Method Summary collapse
- .inheritable=(identifier) ⇒ Boolean private
- .inheritable? ⇒ Boolean private
- .inherited(child_klass) ⇒ Boolean private
Instance Method Summary collapse
- #call(data_set, settings) ⇒ 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/qonfig/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/qonfig/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.
29 30 31 32 |
# File 'lib/qonfig/commands/base.rb', line 29 def inherited(child_klass) child_klass.instance_variable_set(:@inheritable, true) super end |
Instance Method Details
#call(data_set, settings) ⇒ 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.
41 |
# File 'lib/qonfig/commands/base.rb', line 41 def call(data_set, settings); 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.
47 48 49 |
# File 'lib/qonfig/commands/base.rb', line 47 def inheritable? self.class.inheritable? end |