Class: IndexSteps
- Inherits:
-
StepsTemplator
- Object
- StepsTemplator
- IndexSteps
- Defined in:
- lib/generators/feature/index_steps.rb
Constant Summary
Constants inherited from StepsTemplator
Instance Attribute Summary
Attributes inherited from StepsTemplator
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(generator, user, file) ⇒ IndexSteps
constructor
A new instance of IndexSteps.
Methods inherited from StepsTemplator
Methods included from Templator
Constructor Details
#initialize(generator, user, file) ⇒ IndexSteps
Returns a new instance of IndexSteps.
4 5 6 |
# File 'lib/generators/feature/index_steps.rb', line 4 def initialize(generator, user, file) super end |
Instance Method Details
#create ⇒ Object
8 9 10 11 12 |
# File 'lib/generators/feature/index_steps.rb', line 8 def create create_methods('index_methods.rb') create_step(:given, 'index_given_steps.rb') create_step(:then, 'index_then_steps.rb') end |