Module: Interactor::Organizer
- Defined in:
- lib/interactor/organizer.rb
Overview
Public: Interactor::Organizer methods. Because Interactor::Organizer is a module, custom Interactor::Organizer classes should include Interactor::Organizer rather than inherit from it.
Examples
class MyOrganizer
include Interactor::Organizer
organizer InteractorOne, InteractorTwo
end
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Internal: Install Interactor::Organizer’s behavior in the given class.
Class Method Details
.included(base) ⇒ Object
Internal: Install Interactor::Organizer’s behavior in the given class.
15 16 17 18 19 20 21 22 |
# File 'lib/interactor/organizer.rb', line 15 def self.included(base) base.class_eval do include Interactor extend ClassMethods include InstanceMethods end end |