Sha256: bc61567c6645fbe4aab934b6b3a11d6947d0b3a44e73b6e465c6e15782b3f011
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
require 'rails/generators/job/job_generator' module Rails module Generators class JobGenerator def generate_locale_file invoke('locale:job'.freeze, [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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_generator-2.3.0 | lib/generators/rails/job_generator.rb |