class Praxis::BootloaderStages::SubgroupLoader

Attributes

order[W]

Public Class Methods

new(name, application) click to toggle source
Calls superclass method
# File lib/praxis/bootloader_stages/subgroup_loader.rb, line 9
def initialize(name, application)
  super
  # always finalize Taylor after loading app code.

end

Public Instance Methods

order() click to toggle source
# File lib/praxis/bootloader_stages/subgroup_loader.rb, line 15
def order
  @order ||= application.file_layout[name] == [] ? [] : application.file_layout[name].groups.keys
end
setup!() click to toggle source
# File lib/praxis/bootloader_stages/subgroup_loader.rb, line 19
def setup!
  order.each do |group|
    @stages << FileLoader.new(group, application, path: [name, group])
  end
  setup_deferred_callbacks!
end