Flowdock
method

filter_as_proc

Importance_0
v6.0.0 - 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 610
      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.