module Cucumber::Factory
Public Instance Methods
add_steps(main)
click to toggle source
# File lib/cucumber_factory.rb, line 24 def add_steps(main) warn "Using `Cucumber::Factory.add_steps(self)` is deprecated. Use `require 'cucumber_factory/add_steps'` instead." add_steps_filepath = File.join(File.dirname(__FILE__), 'cucumber_factory/add_steps.rb') main.instance_eval(File.read(add_steps_filepath)) end