Class: Bento::Generators::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



9
10
11
# File 'lib/generators/bento/views_generator.rb', line 9

def copy_views
  directory "bento", "app/views/#{scope}"
end