Module: Interaktor::Organizer

Defined in:
lib/interaktor/organizer.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

When the Interaktor::Organizer module is included in a class, add the relevant class methods and hooks to that class.

Parameters:

  • base (Class)

    the class which is including the Interaktor::Organizer module



7
8
9
10
11
12
13
14
# File 'lib/interaktor/organizer.rb', line 7

def self.included(base)
  base.class_eval do
    include Interaktor

    extend ClassMethods
    include InstanceMethods
  end
end