Class: DeployDocus::Generators::New
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- DeployDocus::Generators::New
- Includes:
- Thor::Actions
- Defined in:
- lib/deploy_docus/generators/new.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
10 11 12 |
# File 'lib/deploy_docus/generators/new.rb', line 10 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#copy_files ⇒ Object
14 15 16 |
# File 'lib/deploy_docus/generators/new.rb', line 14 def copy_files directory "templates/new", name end |