Flowdock
method

initializers_chain

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: Rails::Initializable::ClassMethods
initializers_chain() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/initializable.rb, line 69
      def initializers_chain
        initializers = Collection.new
        ancestors.reverse_each do |klass|
          next unless klass.respond_to?(:initializers)
          initializers = initializers + klass.initializers
        end
        initializers
      end
Register or log in to add new notes.