Class: Praxis::BootloaderStages::PluginLoader

Inherits:
Stage
  • Object
show all
Defined in:
lib/praxis/bootloader_stages/plugin_loader.rb

Instance Attribute Summary

Attributes inherited from Stage

#after_callbacks, #before_callbacks, #context, #name, #stages

Instance Method Summary collapse

Methods inherited from Stage

#after, #application, #before, #callback_args, #execute, #execute_callbacks, #run, #setup!, #setup_deferred_callbacks!

Constructor Details

#initialize(name, context, **opts) ⇒ PluginLoader

Returns a new instance of PluginLoader.



8
9
10
11
12
13
14
# File 'lib/praxis/bootloader_stages/plugin_loader.rb', line 8

def initialize(name, context,**opts)
  super

  stages << PluginConfigPrepare.new(:prepare, context, parent: self)
  stages << PluginConfigLoad.new(:load, context, parent: self)
  stages << PluginSetup.new(:setup, context, parent: self)
end