method

rake_tasks

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.

rake_tasks()
private

No documentation available.

# File railties/lib/rails/engine/commands_tasks.rb, line 105
        def rake_tasks
          return @rake_tasks if defined?(@rake_tasks)

          load_generators
          Rake::TaskManager.record_task_metadata = true
          Rake.application.init('rails')
          Rake.application.load_rakefile
          @rake_tasks = Rake.application.tasks.select(&:comment)
        end