Sha256: 96eba389ae91c671ec3b836213aa2f0d95f32fbc68f08e146a0636fa46d3985f

Contents?: true

Size: 417 Bytes

Versions: 3

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module Underlay
  class InitializeActiveJobGenerator < Rails::Generators::Base
    source_root(
      File.expand_path(
        File.join('..', '..', '..', 'templates'),
        File.dirname(__FILE__)
      )
    )

    def initialize_active_job
      copy_file(
        'active_job.rb',
        'config/initializers/active_job.rb'
      )
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
underlay-2.0 lib/underlay/generators/initialize_active_job_generator.rb
underlay-1.52.1 lib/underlay/generators/initialize_active_job_generator.rb
underlay-1.50.1 lib/underlay/generators/initialize_active_job_generator.rb