Sha256: 52fc19d64492e95176373d3494d89c84366fa24b53edc95d6f6967b25bb73208
Contents?: true
Size: 475 Bytes
Versions: 12
Compression:
Stored size: 475 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
12 entries across 12 versions & 1 rubygems