method

each_registered_block

v5.0.0.1 - Show latest stable - Class: Rails::Railtie
each_registered_block(type, &block)
private

No documentation available.

# File railties/lib/rails/railtie.rb, line 244
    def each_registered_block(type, &block)
      klass = self.class
      while klass.respond_to?(type)
        klass.public_send(type).each(&block)
        klass = klass.superclass
      end
    end