Flowdock
method

write_options_file

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::OptionParser
write_options_file(options_file) protected

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.