Class Spec::Runner::CommandLine

  1. lib/spec/runner/command_line.rb
Parent: Object

Methods

public class

  1. run

Public class methods

run (tmp_options=Spec::Runner.options)
[show source]
# File lib/spec/runner/command_line.rb, line 6
      def self.run(tmp_options=Spec::Runner.options)
        orig_options = Spec::Runner.options
        Spec::Runner.use tmp_options
        tmp_options.run_examples
      ensure
        Spec::Runner.use orig_options
      end