method

filter_as_proc

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: TestHelper
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/test_helper.rb, line 649
      def filter_as_proc(filter)
        return filter if filter.is_a?(Proc)

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