Sha256: b34071fe189f63c54516ed82c7952526f5934b206b895cb14d53bb7792b55620
Contents?: true
Size: 564 Bytes
Versions: 22
Compression:
Stored size: 564 Bytes
Contents
require 'spec/version' require 'spec/matchers' require 'spec/expectations' require 'spec/example' require 'spec/extensions' require 'spec/runner' if Object.const_defined?(:Test); \ require 'spec/interop/test'; \ end module Spec class << self def run? @run || rspec_options.examples_run? end def run; \ return true if run?; \ result = rspec_options.run_examples; \ @run = true; \ result; \ end attr_writer :run def exit?; \ !Object.const_defined?(:Test) || Test::Unit.run?; \ end end end
Version data entries
22 entries across 22 versions & 5 rubygems