Sha256: e01150d2ebf2c4cf23e5a3d3d43b3886be3653465c058878c965d44394dd4427
Contents?: true
Size: 486 Bytes
Versions: 8
Compression:
Stored size: 486 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rails/generators' class Sufia::Models::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
8 entries across 8 versions & 1 rubygems