Sha256: 547cfa24e7acbefbc4793d08a483557322b32c137873dde1fb6fcd034fa12c12

Contents?: true

Size: 372 Bytes

Versions: 23

Compression:

Stored size: 372 Bytes

Contents

require 'spec/runner/option_parser'

module Spec
  module Runner
    class CommandLine
      class << self
        def 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
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 7 rubygems

Version Path
dchelimsky-rspec-1.1.10 lib/spec/runner/command_line.rb
dchelimsky-rspec-1.1.11 lib/spec/runner/command_line.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/lib/spec/runner/command_line.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/lib/spec/runner/command_line.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/lib/spec/runner/command_line.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/lib/spec/runner/command_line.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
mack-0.8.2 lib/gems/rspec-1.1.11/lib/spec/runner/command_line.rb
pictrails-0.5.0 vendor/plugins/rspec/lib/spec/runner/command_line.rb
rspec-1.1.10 lib/spec/runner/command_line.rb
rspec-1.1.5 lib/spec/runner/command_line.rb
rspec-1.1.6 lib/spec/runner/command_line.rb
rspec-1.1.7 lib/spec/runner/command_line.rb
rspec-1.1.11 lib/spec/runner/command_line.rb
rspec-1.1.8 lib/spec/runner/command_line.rb