Sha256: 253a45eb344425c28967905e846511e27b31375e02f6f8367cb8d6e082cccd5b
Contents?: true
Size: 470 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_generator-2.4.0 | lib/generators/rails/job_generator.rb |
active_generator-2.3.1 | lib/generators/rails/job_generator.rb |