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