Module: Mutant::Delegator

Included in:
Reporter::CLI::Printer
Defined in:
lib/mutant/delegator.rb

Overview

A simple delegator with opinions

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(host) ⇒ undefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Hook called when module is included


45
46
47
48
49
# File 'lib/mutant/delegator.rb', line 45

def self.included(host)
  super

  host.extend(ClassMethods)
end