Sha256: e29086989a399fae9255cee5b614517591e2dd9cea1e7cba9e2c9307098597c2
Contents?: true
Size: 308 Bytes
Versions: 23
Compression:
Stored size: 308 Bytes
Contents
module MyDashboard module Generators class JobGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../../templates', __FILE__) desc 'Creates a new MyDashboard job.' def job template 'jobs/new.rb', "app/jobs/#{file_name}.rb" end end end end
Version data entries
23 entries across 23 versions & 1 rubygems