Module: Interactor::Hooks

Defined in:
lib/interactor/hooks.rb

Overview

Internal: Methods relating to supporting hooks around Interactor invocation.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Internal: Install Interactor’s behavior in the given class.



5
6
7
8
9
# File 'lib/interactor/hooks.rb', line 5

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