Sha256: b5d04fa7ab03ee8ce0fd3bf1624b45d766ebfa11945778821d16f69b52a60994
Contents?: true
Size: 420 Bytes
Versions: 4
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module IIInteractor module Lookups class Name < Base def call IIInteractor.load IIInteractor::Base.descendants.select do |interactor| interactor._reactions.any? { |reaction| reaction == @interaction } end end class << self def call?(interaction) interaction.is_a?(Symbol) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems