Module: Scarlet::Generator
- Defined in:
- lib/scarlet/generator.rb
Class Method Summary collapse
Class Method Details
.files(destination) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/scarlet/generator.rb', line 3 def self.files(destination) Dir.mkdir(destination) if Dir[destination].empty? ["javascripts", "stylesheets"].each do |folder| FileUtils.cp_r(File.join(File.dirname(__FILE__), "templates", "html", folder), destination) end end |