Class/Module Index [+]

Quicksearch

Spec::Runner

Public Class Methods

configure() click to toggle source

Use this to configure various configurable aspects of RSpec:

Spec::Runner.configure do |configuration|
  # Configure RSpec here
end

The yielded configuration object is a Spec::Runner::Configuration instance. See its RDoc for details about what you can do with it.

# File lib/spec/runner.rb, line 40
def configure
  yield configuration
end
run() click to toggle source
# File lib/spec/runner.rb, line 60
def run
  options.examples_run? || options.run_examples
end
use(options) click to toggle source
# File lib/spec/runner.rb, line 56
def use options
  @options = options
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.