Sha256: 758a46adcce893dd05fde22203356d64dede15021967178742d011dd82c11394

Contents?: true

Size: 470 Bytes

Versions: 4

Compression:

Stored size: 470 Bytes

Contents

require 'rails/generators/job/job_generator'

module Rails
  module Generators
    class JobGenerator

      def generate_locale_file
        invoke("locale:job", [name]) if ActiveGenerator.configuration.autoload_job_generator_locale
      end

      def generate_test_file
        unless ActiveGenerator.configuration.test_framework.nil?
          invoke("#{ActiveGenerator.configuration.test_framework}:job", [name]) rescue nil
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_generator-2.2.8 lib/generators/rails/job_generator.rb
active_generator-2.2.7 lib/generators/rails/job_generator.rb
active_generator-2.2.6 lib/generators/rails/job_generator.rb
active_generator-2.2.5 lib/generators/rails/job_generator.rb