method
new
1.1.12 -
Show latest stable
- Class:
Spec::Story::Runner::PlainTextStoryRunner
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