Module: Hanami::Interactor

Defined in:
lib/hanami/interactor.rb

Overview

Hanami Interactor

Since:

  • 0.3.5

Defined Under Namespace

Modules: Interface Classes: Result

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Override for Module#included.

Since:

  • 0.3.5



144
145
146
147
148
149
150
151
# File 'lib/hanami/interactor.rb', line 144

def self.included(base)
  super

  base.class_eval do
    prepend Interface
    extend  ClassMethods
  end
end