method

each_registered_block

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

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/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
Register or log in to add new notes.