method
write_generated_options
1.2.0 -
Show latest stable
-
0 notes -
Class: Spec::Runner::OptionParser
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
write_generated_options(options_file)
protected
Hide source
# File lib/spec/runner/option_parser.rb, line 170 def write_generated_options(options_file) File.open(options_file, 'w') do |io| io.puts @argv.join("\n") end @out_stream.puts "\nOptions written to #{options_file}. You can now use these options with:" @out_stream.puts "spec --options #{options_file}" @options.examples_should_not_be_run end