Class: ChemistryKit::CLI::New
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- ChemistryKit::CLI::New
- Includes:
- Thor::Actions
- Defined in:
- lib/chemistrykit/cli/new.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
10 11 12 |
# File 'lib/chemistrykit/cli/new.rb', line 10 def self.source_root File.join(File.dirname(__FILE__), '..', '..') end |
Instance Method Details
#create_project ⇒ Object
14 15 16 |
# File 'lib/chemistrykit/cli/new.rb', line 14 def create_project directory "templates/chemistrykit", File.join(Dir.getwd, name) end |
#notify ⇒ Object
18 19 20 |
# File 'lib/chemistrykit/cli/new.rb', line 18 def notify say "Your test harness has been created." end |