method
write_options_file
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Runner::OptionParser
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
write_options_file(options_file)
protected
Hide source
# File lib/spec/runner/option_parser.rb, line 186 def write_options_file(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