method

derive_named_filter

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CompositeFilter
derive_named_filter(filter) private

No documentation

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

Hide source
# File railties/lib/rails/test_unit/runner.rb, line 137
        def derive_named_filter(filter)
          if filter.respond_to?(:named_filter)
            filter.named_filter
          elsif filter =~ %/(.*)/% # Regexp filtering copied from minitest.
            Regexp.new $1
          elsif filter.is_a?(String)
            filter
          end
        end
Register or log in to add new notes.