Class: Quorum::Generators::ViewsGenerator

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

Constant Summary collapse

DIRECTORIES =
[
  "quorum/jobs",
  "layouts/quorum"
]

Instance Method Summary collapse

Instance Method Details

#copy_directoriesObject



12
13
14
15
16
# File 'lib/generators/quorum/views_generator.rb', line 12

def copy_directories
  DIRECTORIES.each do |d|
    directory d.to_s, "app/views/#{d.to_s}"
  end
end