Class: Lazycuke::App
- Inherits:
-
Thor
- Object
- Thor
- Lazycuke::App
- Includes:
- Thor::Actions
- Defined in:
- lib/lazycuke/app.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
8 9 10 |
# File 'lib/lazycuke/app.rb', line 8 def self.source_root File.('../../scaffold', File.dirname(__FILE__)) end |
Instance Method Details
#setup ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/lazycuke/app.rb', line 18 def setup generate_rakefile copy_file "features/test.feature" copy_file "Gemfile" copy_file "cucumber.yml" copy_file "README.md" copy_file "features/support/env.rb" copy_file "features/support/hooks.rb" copy_file "features/step_definitions/steps.rb" init_gitignore end |