Class: ShowSteps
- Inherits:
-
StepsTemplator
- Object
- StepsTemplator
- ShowSteps
- Defined in:
- lib/generators/feature/show_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) ⇒ ShowSteps
constructor
A new instance of ShowSteps.
Methods inherited from StepsTemplator
Methods included from Templator
Constructor Details
#initialize(generator, user, file) ⇒ ShowSteps
Returns a new instance of ShowSteps.
4 5 6 |
# File 'lib/generators/feature/show_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/show_steps.rb', line 8 def create create_methods('show_methods.rb') create_step(:given, 'show_given_steps.rb') create_step(:then, 'show_then_steps.rb') end |