Namespace
Methods
I
R
Class Public methods
included(base)
# File railties/lib/rails/initializable.rb, line 5
def self.included(base)
  base.extend ClassMethods
end
Instance Public methods
initializers()
# File railties/lib/rails/initializable.rb, line 60
def initializers
  @initializers ||= self.class.initializers_for(self)
end
run_initializers(group=:default, *args)
# File railties/lib/rails/initializable.rb, line 52
def run_initializers(group=:default, *args)
  return if instance_variable_defined?(:@ran)
  initializers.tsort.each do |initializer|
    initializer.run(*args) if initializer.belongs_to?(group)
  end
  @ran = true
end