Sha256: 06bad7d4163200553f16fa617336eae683527ae2b443a8038e406c6735aa395b
Contents?: true
Size: 474 Bytes
Versions: 10
Compression:
Stored size: 474 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rails/generators' class Hyrax::ClamavGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc ' This generator makes the following changes to your application: 1. Generates clamav initializer ' def banner say_status('info', 'Generating clamav initializers', :blue) end def create_initializer_file copy_file 'config/clamav.rb', 'config/initializers/clamav.rb' end end
Version data entries
10 entries across 10 versions & 2 rubygems