Class: Hyrax::ClamavGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Hyrax::ClamavGenerator
- Defined in:
- lib/generators/hyrax/clamav_generator.rb
Instance Method Summary collapse
Instance Method Details
#banner ⇒ Object
12 13 14 |
# File 'lib/generators/hyrax/clamav_generator.rb', line 12 def say_status('info', 'Generating clamav initializers', :blue) end |
#create_initializer_file ⇒ Object
16 17 18 |
# File 'lib/generators/hyrax/clamav_generator.rb', line 16 def create_initializer_file copy_file 'config/clamav.rb', 'config/initializers/clamav.rb' end |