Class: Sassquatch::Generator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Sassquatch::Generator
- Includes:
- Thor::Actions
- Defined in:
- lib/sassquatch/generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
7 8 9 |
# File 'lib/sassquatch/generator.rb', line 7 def self.source_root File.("../../../app/assets/stylesheets", __FILE__) end |
Instance Method Details
#copy_files ⇒ Object
11 12 13 14 |
# File 'lib/sassquatch/generator.rb', line 11 def copy_files copy_file "_sassquatch.scss", "sassquatch/_sassquatch.scss" directory "sassquatch", "sassquatch/sassquatch" end |