Class: Quorum::Generators::ImagesGenerator

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

Constant Summary collapse

IMAGE_DIRECTORIES =
[
  "quorum"
]

Instance Method Summary collapse

Instance Method Details

#copy_imagesObject



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