Sha256: 1aebf355c2490b66033be9e52f88e52bade919055e1dcac5a7ddf0c5140aaa3d
Contents?: true
Size: 296 Bytes
Versions: 1
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/base' class AsyncActiveJobGenerator < Rails::Generators::Base source_paths << File.join(__dir__, 'templates') def create_executable_file template 'script', 'bin/async_active_job' chmod 'bin/async_active_job', 0o755 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
async_active_job-0.1.0 | lib/generators/async_active_job/async_active_job_generator.rb |