Class: Lines::CopyStylesGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_stylesheetsObject



7
8
9
10
# File 'lib/generators/lines/copy_styles_generator.rb', line 7

def copy_stylesheets
  FileUtils.mkdir_p "app/assets/stylesheets/lines"
  directory('../../../app/assets/stylesheets/lines/', 'app/assets/stylesheets/lines/', {:exclude_pattern => /admin/} )
end