Module: Crossbeam::Callbacks

Defined in:
lib/crossbeam/callbacks.rb

Overview

Callbacks before/after the services ‘call` is called

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ void

This method returns an undefined value.

Used to include/extend modules into the current class

Parameters:

  • base (Object)


12
13
14
15
16
17
18
# File 'lib/crossbeam/callbacks.rb', line 12

def self.included(base)
  base.class_eval do
    extend(ClassMethods)

    attr_accessor :klass
  end
end