method

new

rspec latest stable - Class: Spec::Story::Runner::PlainTextStoryRunner

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

new(*args)
public

You can initialize a PlainTextStoryRunner with the path to the story file or a block, in which you can define the path using load.

Examples

  PlainTextStoryRunner.new('path/to/file')

  PlainTextStoryRunner.new do |runner|
    runner.load 'path/to/file'
  end