module Spec::Runner
def configuration # :nodoc:
def configuration # :nodoc: @configuration ||= Spec::Example::Configuration.new end
def configure
for details about what you can do with it.
Spec::Example::Configuration instance. See its RDoc
The yielded configuration object is a
end
# Configure RSpec here
Spec::Runner.configure do |configuration|
RSpec:
Use this to configure various configurable aspects of
def configure yield configuration end
def register_at_exit_hook # :nodoc:
def register_at_exit_hook # :nodoc: $spec_runner_at_exit_hook_registered ||= nil unless $spec_runner_at_exit_hook_registered at_exit do unless $! || Spec.run?; \ success = Spec.run; \ exit success if Spec.exit?; \ end end $spec_runner_at_exit_hook_registered = true end end