Class: Praxis::BootloaderStages::PluginSetup

Inherits:
Stage
  • Object
show all
Defined in:
lib/praxis/bootloader_stages/plugin_setup.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_callbacks, #initialize, #run, #setup!, #setup_deferred_callbacks!

Constructor Details

This class inherits a constructor from Praxis::Stage

Instance Method Details

#executeObject



6
7
8
9
10
# File 'lib/praxis/bootloader_stages/plugin_setup.rb', line 6

def execute
  application.plugins.each do |_config_key, plugin|
    plugin.setup!
  end
end