Class: CurationConcerns::ClamavGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/curation_concerns/clamav_generator.rb

Instance Method Summary collapse

Instance Method Details



12
13
14
# File 'lib/generators/curation_concerns/clamav_generator.rb', line 12

def banner
  say_status('info', 'Generating clamav initializers', :blue)
end

#create_initializer_fileObject



16
17
18
# File 'lib/generators/curation_concerns/clamav_generator.rb', line 16

def create_initializer_file
  copy_file 'config/clamav.rb', 'config/initializers/clamav.rb'
end