class NewSteps

Public Class Methods

new(generator, user, file) click to toggle source
Calls superclass method StepsTemplator::new
# File lib/generators/feature/new_steps.rb, line 4
def initialize(generator, user, file)
  super
end

Public Instance Methods

create() click to toggle source
# File lib/generators/feature/new_steps.rb, line 8
def create
  create_methods('new_methods.rb')
  create_step(:when, 'new_when_steps.rb')
  create_step(:then, 'new_then_steps.rb')
end