Class: IronCukeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- IronCukeGenerator
- Defined in:
- lib/generators/iron_cuke_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
6 7 8 |
# File 'lib/generators/iron_cuke_generator.rb', line 6 def self.source_root File.join(File.dirname(__FILE__), 'templates') end |
Instance Method Details
#create_features_step_definitions ⇒ Object
14 15 16 |
# File 'lib/generators/iron_cuke_generator.rb', line 14 def create_features_step_definitions copy_file "features/step_definitions/iron_cuke_steps.rb", "features/step_definitions/iron_cuke_steps.rb" end |
#create_features_support ⇒ Object
10 11 12 |
# File 'lib/generators/iron_cuke_generator.rb', line 10 def create_features_support copy_file "features/support/iron_cuke.rb", "features/support/iron_cuke.rb" end |