Class: DuodealerApp::Generators::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_viewsObject



8
9
10
11
12
# File 'lib/generators/duodealer_app/views/views_generator.rb', line 8

def create_views
  views.each do |view|
    copy_file view
  end
end