Class: Lines::CopyStylesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Lines::CopyStylesGenerator
- Defined in:
- lib/generators/lines/copy_styles_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_stylesheets ⇒ Object
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 |