method
parse_example
1.1.12 -
Show latest stable
- Class:
Spec::Runner::Options
parse_example(example)public
No documentation available.
# File lib/spec/runner/options.rb, line 178
def parse_example(example)
if(File.file?(example))
@examples = [File.open(example).read.split("\n")].flatten
else
@examples = [example]
end
end