Sha256: 909a4717fa88315d74ebaeb2c652b06790072e7844c015a9aeb300cf3e2590ca
Contents?: true
Size: 404 Bytes
Versions: 39
Compression:
Stored size: 404 Bytes
Contents
module Virgo class ScheduleGenerator < Rails::Generators::Base source_root File.expand_path('../../../../..', __FILE__) def copy_schedule abs_path = "#{engine_root}/config/schedule.rb" relative_path = abs_path.gsub("#{engine_root}/", '') copy_file relative_path, relative_path end def engine_root File.expand_path('../../../../..', __FILE__) end end end
Version data entries
39 entries across 39 versions & 1 rubygems