Class SimpleCov::Adapters
In: lib/simplecov/adapters.rb
Parent: Hash

Adaptars are glorified SimpleCov configuration procs that can be easily loaded using SimpleCov.start :rails and defined using

  SimpleCov.adapters.define :foo do
    # SimpleCov configuration here, same as in  SimpleCov.configure
  end

Methods

define   load  

Public Instance methods

Define a SimpleCov adapter:

  SimpleCov.adapters.define 'rails' do
    # Same as SimpleCov.configure do .. here
  end

Applies the adapter of given name on SimpleCov.configure

[Validate]