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