Class: Qonfig::Plugins::Abstract Private
- Inherits:
-
Object
- Object
- Qonfig::Plugins::Abstract
- Defined in:
- lib/qonfig/plugins/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.
Direct Known Subclasses
Class Method Summary collapse
- .inherited(child_klass) ⇒ void private
- .load! ⇒ void private
- .loaded? ⇒ Boolean private
Class Method Details
.inherited(child_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.
This method returns an undefined value.
12 13 14 15 |
# File 'lib/qonfig/plugins/abstract.rb', line 12 def inherited(child_klass) child_klass.instance_variable_set(:@loaded, false) super end |
.load! ⇒ 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 |
# File 'lib/qonfig/plugins/abstract.rb', line 21 def load! @loaded = true install! end |
.loaded? ⇒ 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.
30 31 32 |
# File 'lib/qonfig/plugins/abstract.rb', line 30 def loaded? @loaded end |