Parent

Methods

Merb::Slices::Initialize

Call initialization method for each registered Slice.

This is done just before the app’s after_load_callbacks are run. The application has been practically loaded completely, letting the callbacks work with what has been loaded.

Public Class Methods

run() click to toggle source
# File lib/merb-slices.rb, line 98
def self.run
  Merb::Slices.each_slice do |slice|
    Merb.logger.verbose!("Initializing slice '#{slice}' ...")
    slice.init if slice.respond_to?(:init)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.