Module: Interaktor::Hooks

Defined in:
lib/interaktor/hooks.rb

Overview

Internal: Methods relating to supporting hooks around Interaktor invocation.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

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



4
5
6
7
8
# File 'lib/interaktor/hooks.rb', line 4

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