class RSpec::Core::CommandLine

def example_count

def example_count
  @world.example_count
end

def example_groups

def example_groups
  @world.example_groups.extend(ExampleGroups)
end

def initialize(options, configuration=RSpec::configuration, world=RSpec::world)

def initialize(options, configuration=RSpec::configuration, world=RSpec::world)
  @options       = options
  @configuration = configuration
  @world         = world
end

def run(err, out)

def run(err, out)
  @options.configure(@configuration)
  @configuration.error_stream = err
  @configuration.output_stream = out
  @configuration.require_files_to_run
  @configuration.configure_mock_framework
  @world.announce_inclusion_filter
  @configuration.reporter.report(example_count) do |reporter|
    begin
      @configuration.run_hook(:before, :suite)
      example_groups.run_examples(reporter)
    ensure
      @configuration.run_hook(:after, :suite)
    end
  end
  example_groups.success?
end