module Interaktor::Organizer::ClassMethods
Public Instance Methods
organize(*interaktors)
click to toggle source
Declare Interaktors to be invoked as part of the Interaktor::Organizer's invocation. These interaktors are invoked in the order in which they are declared.
@param interaktors [Interaktor, Array<Interaktor>]
@return [void]
# File lib/interaktor/organizer.rb, line 24 def organize(*interaktors) organized.concat(interaktors.flatten) end
organized()
click to toggle source
An array of declared Interaktors to be invoked.
@return [Array<Interaktor>]
# File lib/interaktor/organizer.rb, line 31 def organized @organized ||= [] end