Module: MotherBrain::Mixin::Services

Defined in:
lib/mb/mixin/services.rb

Overview

A mixin to provide easy access to the various services (actors) running in the motherbrain stack.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



12
13
14
# File 'lib/mb/mixin/services.rb', line 12

def extended(base)
  base.send(:include, ClassMethods)
end

.included(base) ⇒ Object



7
8
9
10
# File 'lib/mb/mixin/services.rb', line 7

def included(base)
  base.extend(ClassMethods)
  base.send(:include, ClassMethods)
end