Class: Radiant::ExtensionLoader::DependenciesObserver
- Inherits:
-
MethodObserver
- Object
- MethodObserver
- Radiant::ExtensionLoader::DependenciesObserver
- Defined in:
- lib/radiant/extension_loader.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Attributes inherited from MethodObserver
Instance Method Summary collapse
- #after_clear(*args) ⇒ Object
- #before_clear(*args) ⇒ Object
-
#initialize ⇒ DependenciesObserver
constructor
(rails_config).
Methods inherited from MethodObserver
Constructor Details
#initialize ⇒ DependenciesObserver
(rails_config)
11 12 13 |
# File 'lib/radiant/extension_loader.rb', line 11 def initialize #(rails_config) #@config = rails_config end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
9 10 11 |
# File 'lib/radiant/extension_loader.rb', line 9 def config @config end |
Instance Method Details
#after_clear(*args) ⇒ Object
19 20 21 22 |
# File 'lib/radiant/extension_loader.rb', line 19 def after_clear(*args) ExtensionLoader.load_extensions ExtensionLoader.activate_extensions end |
#before_clear(*args) ⇒ Object
15 16 17 |
# File 'lib/radiant/extension_loader.rb', line 15 def before_clear(*args) ExtensionLoader.deactivate_extensions end |