Sha256: 7edc4a7076111e01bde21473a82bb784d7e6e6f4c58fd7301962d0d93e12ed6b

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/rails/task/task_generator'

module Rails
  module Generators
    class TaskGenerator

      def generate_locale_file
        return unless ActiveGenerator.configuration.autoload_task_generator_locale
        invoke('locale:task', [name])
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_generator-5.0.0 lib/generators/rails/task_generator.rb