method
new
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Story::Runner::PlainTextStoryRunner
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
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