Flowdock
method

run_after_generate_callback

Importance_0
v6.1.3.1 - Show latest stable - 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 328
        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.