Class: DictateCssGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DictateCssGenerator
- Defined in:
- lib/generators/dictate_css_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_variables_file ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/generators/dictate_css_generator.rb', line 5 def copy_variables_file if arg == "styles" system `mkdir -p vendor/assets/stylesheets/dictate_css` copy_file "base.css", "vendor/assets/stylesheets/dictate_css/base.css" copy_file "colors.css", "vendor/assets/stylesheets/dictate_css/colors.css" copy_file "floating.css", "vendor/assets/stylesheets/dictate_css/floating.css" copy_file "hide_show.css", "vendor/assets/stylesheets/dictate_css/hide_show.css" end end |