Class: Hyrax::ClamavGenerator

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

Instance Method Summary collapse

Instance Method Details


11
12
13
# File 'lib/generators/hyrax/clamav_generator.rb', line 11

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

#create_initializer_fileObject


15
16
17
# File 'lib/generators/hyrax/clamav_generator.rb', line 15

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