Class: Qonfig::Imports::Abstract Private
- Inherits:
-
Object
- Object
- Qonfig::Imports::Abstract
- Defined in:
- lib/qonfig/imports/abstract.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.
Constant Summary collapse
- EMPTY_PREFIX =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
''
- DEFAULT_RAW_BEHAVIOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
false
- AS_ACCESSOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
false
Instance Method Summary collapse
- #import!(settings_interface = Module.new) ⇒ void private
- #initialize(seeded_klass, imported_config, prefix: EMPTY_PREFIX, raw: DEFAULT_RAW_BEHAVIOR, accessor: AS_ACCESSOR) ⇒ void constructor private
Constructor Details
#initialize(seeded_klass, imported_config, prefix: EMPTY_PREFIX, raw: DEFAULT_RAW_BEHAVIOR, accessor: AS_ACCESSOR) ⇒ 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.
34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/qonfig/imports/abstract.rb', line 34 def initialize( seeded_klass, imported_config, prefix: EMPTY_PREFIX, raw: DEFAULT_RAW_BEHAVIOR, accessor: AS_ACCESSOR ) @seeded_klass = seeded_klass @imported_config = imported_config @prefix = prefix @raw = !!raw @accessor = !!accessor end |
Instance Method Details
#import!(settings_interface = Module.new) ⇒ 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.
53 54 55 56 57 |
# File 'lib/qonfig/imports/abstract.rb', line 53 def import!(settings_interface = Module.new) # :nocov: raise NoMethodError # :nocov: end |