method

create_tasks_files

rails latest stable - Class: Rails::Generators::PluginGenerator

Method deprecated or moved

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

create_tasks_files()
public

No documentation available.

# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 25
      def create_tasks_files
        return unless options[:tasks]
        directory 'lib/tasks', plugin_dir('lib/tasks')
      end