method

validate_option

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TestHelper
validate_option(only: nil, except: nil) 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 743
      def validate_option(only: nil, except: nil)
        raise ArgumentError, "Cannot specify both `:only` and `:except` options." if only && except
      end
Register or log in to add new notes.