Module: Datadog::CI::Contrib::Integration

Included in:
Cucumber::Integration, Minitest::Integration, RSpec::Integration, Selenium::Integration, Simplecov::Integration
Defined in:
lib/datadog/ci/contrib/integration.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



11
12
13
14
# File 'lib/datadog/ci/contrib/integration.rb', line 11

def self.included(base)
  base.extend(ClassMethods)
  base.include(InstanceMethods)
end

.register(klass, name) ⇒ Object



16
17
18
# File 'lib/datadog/ci/contrib/integration.rb', line 16

def self.register(klass, name)
  registry[name] = klass.new
end

.registryObject



20
21
22
# File 'lib/datadog/ci/contrib/integration.rb', line 20

def self.registry
  @registry
end