Class: Quorum::Generators::ImagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Quorum::Generators::ImagesGenerator
- Defined in:
- lib/generators/quorum/images_generator.rb
Constant Summary collapse
- IMAGE_DIRECTORIES =
[ "quorum" ]
Instance Method Summary collapse
Instance Method Details
#copy_images ⇒ Object
11 12 13 14 15 |
# File 'lib/generators/quorum/images_generator.rb', line 11 def copy_images IMAGE_DIRECTORIES.each do |d| directory d.to_s, "app/assets/images/#{d.to_s}" end end |