Class: Karist::Generator
- Inherits:
-
Object
- Object
- Karist::Generator
- Defined in:
- lib/karist/generator.rb
Class Method Summary collapse
Class Method Details
.copy_to_path!(path) ⇒ Object
5 6 7 8 |
# File 'lib/karist/generator.rb', line 5 def self.copy_to_path!(path) examples_dir = File.dirname(__dir__) + "/examples" FileUtils.cp_r(examples_dir, path, verbose: false) end |