method

filter_as_proc

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: TestAdapter
filter_as_proc(filter) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/queue_adapters/test_adapter.rb, line 78
        def filter_as_proc(filter)
          return filter if filter.is_a?(Proc)

          ->(job) { Array(filter).include?(job.class) }
        end
Register or log in to add new notes.