Module: RSpec::LogSplit

### Home Classes Methods

### In Files

- lib/rspec/log_split.rb
- lib/rspec/log_split/config.rb
- lib/rspec/log_split/handler.rb
- lib/rspec/log_split/version.rb

### Namespace

- CLASS RSpec::LogSplit::Config
- CLASS RSpec::LogSplit::Handler

### Methods

- ::apply

### Class/Module Index

Quicksearch

- RSpec
- RSpec::LogSplit
- RSpec::LogSplit::Config
- RSpec::LogSplit::Handler

No matching classes.

# RSpec::LogSplit

### Constants

VERSION

### Public Class Methods

apply() click to toggle source

    # File lib/rspec/log_split.rb, line 12
    def apply
      RSpec.configure do |config|
        config.add_setting :log_split_module
        config.add_setting :log_split_dir
        config.add_setting :log_split

        config.before(:suite) do
          RSpec.configuration.log_split= Config.new(
            RSpec.configuration.log_split_module,
            RSpec.configuration.log_split_dir,
          )
        end

        config.around(:each) do |example|
          RSpec.configuration.log_split.run(example)
        end

        config.after(:suite) do
          Handler.list_logs if $DEBUG
        end
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.