method

generate_or_destroy

rails latest stable - Class: Rails::Engine::CommandsTasks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

generate_or_destroy(command)
private

No documentation available.

# File railties/lib/rails/engine/commands_tasks.rb, line 71
        def generate_or_destroy(command)
          load_generators
          require_command!(command)
        end