method

run_after_generate_callback

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Rails::Generators
run_after_generate_callback() 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/generators.rb, line 313
        def run_after_generate_callback
          if defined?(@@generated_files) && !@@generated_files.empty?
            @after_generate_callbacks.each do |callback|
              callback.call(@@generated_files)
            end
            @@generated_files = []
          end
        end
Register or log in to add new notes.