Class: Sassquatch::Generator

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/sassquatch/generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



7
8
9
# File 'lib/sassquatch/generator.rb', line 7

def self.source_root
  File.expand_path("../../../app/assets/stylesheets", __FILE__)
end

Instance Method Details

#copy_filesObject



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